Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2018-03-24 19:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (299 votes). Check out past polls.