Solved

Configure DBD solaris 10

Posted on 2011-09-25
3
267 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now