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

Re^2: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment

by garybiscuit (Initiate)
on Feb 06, 2013 at 18:15 UTC ( #1017482=note: print w/ replies, xml ) Need Help??


in reply to Re: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment
in thread Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment

OK. I looked at that thread. Using the "exec $0" method to re-invoke the program works (after setting LD_LIBRARY_PATH) - but that just seems a little too funky for me. Is there a "cleaner" way? (For lack of a better way of putting it).

Thanks,
Gary


Comment on Re^2: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment
Replies are listed 'Best First'.
Re^3: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment
by Corion (Pope) on Feb 06, 2013 at 18:19 UTC

    Yes. Write a wrapper (shell) script that sets the environment variables before invoking your Perl program.

Re^3: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment
by Anonymous Monk on Feb 07, 2013 at 08:19 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-08-31 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (352 votes), past polls