Solved

Configure DBD solaris 10

Posted on 2011-09-25
3
272 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

825 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