Solved

Configure DBD solaris 10

Posted on 2011-09-25
3
274 Views
Last Modified: 2013-12-25
Hi,
For oracle::dbd on solaris 10, the paths are incorrect, so all the DBD calls are failing in perl modules. In mk.pm file I can see the paths are incorrect.
Appreciate if someone can guide how to correct the paths, and what is required to correct the paths.

Thanks for all the help.

Mohit
0
Comment
Question by:Mohit_t
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
nemws1 earned 500 total points
ID: 36601865
Do you have your ORACLE_HOME environment variable properly set?

If you have that set, then you should just be able to go into the module source code directory and type in:

   perl Makefile.PL

Watch the output - you should see the correct location of the oracle libraries directory go by (as long as you have ORACLE_HOME set correctly!)
0
 
LVL 9

Expert Comment

by:parparov
ID: 36602288
From what I experienced installing DBD::oracle on Solaris 64-bit, it was much easier to download the Oracle's compiler (Oracle Solaris Studio)
http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html
than use gcc .

It's better even to build perl with this compiler.

0
 
LVL 23

Expert Comment

by:nemws1
ID: 36602423
I only needed a client, so I just installed Oracle's "instantclient", pointed my ORACLE_HOME to that (/usr/local/instantclient on my Solaris x86 box) and the DBD::oracle module compiled & installed with no problems (using GCC 3.4.6).

Hopefully one or the other will work for Mohit.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question