Solved

Configure DBD solaris 10

Posted on 2011-09-25
3
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

717 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