Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: DBI, DBD::Oracle and LD_LIBRARY_PATH

by ryber (Acolyte)
on Jan 23, 2013 at 19:47 UTC ( #1015009=note: print w/replies, xml ) Need Help??

in reply to Re: DBI, DBD::Oracle and LD_LIBRARY_PATH
in thread DBI, DBD::Oracle and LD_LIBRARY_PATH

I know this is an old post, but it seems to still be relevant. On both Solaris and Linux, I have always used a wrapper shell script to set LD_LIBRARY_PATH etc.

When I recently had to run a PERL script using Oracle as a CGI via an Apache web server, I found that I could use Apache's SetEnv directive to set these environmental vars in my httpd.conf file, like so:

SetEnv LD_LIBRARY_PATH /lib64:/lib:/opt/oraClient/ SetEnv ORACLE_HOME /opt/oraClient/

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015009]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-10-27 06:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (353 votes). Check out past polls.