Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by Corion (Pope)
on Feb 06, 2013 at 17:27 UTC ( #1017477=note: print w/ replies, xml ) Need Help??


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

See Perl and paths...again :-( and the replies to it. This sounds like very much the same problem, so the solution there might help you too.


Comment on Re: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environment
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
    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

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-07-30 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls