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

Re^2: LD_LIBRARY_PATH setting

by Corion (Patriarch)
on Aug 06, 2016 at 12:37 UTC ( [id://1169253]=note: print w/replies, xml ) Need Help??


in reply to Re: LD_LIBRARY_PATH setting
in thread LD_LIBRARY_PATH setting

$ENV{LD_LIBRARY_PATH} is where unixish/linuxish systems go looking for system libraries. This comes into play when Perl libraries need to load system libraries. @INC is where Perl goes looking for Perl modules/Perl libraries.

Replies are listed 'Best First'.
Re^3: LD_LIBRARY_PATH setting
by Anonymous Monk on Aug 06, 2016 at 14:32 UTC

    Worth adding that it should be possible to compile the related perl .so modules with a path to their dependencies, if necessary. The CC option -Wl,--rpath=/path/to/libs is passed to linker; resulting shared objects ought to load without custom LD_LIBRARY_PATH. So it's a matter of properly done module install.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-20 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found