Solved

Configure DBD solaris 10

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 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

23 Experts available now in Live!

Get 1:1 Help Now