Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: adding libs in a setuid-perl script

by JavaFan (Canon)
on Aug 30, 2010 at 15:11 UTC ( #858022=note: print w/replies, xml ) Need Help??


in reply to Re^2: adding libs in a setuid-perl script
in thread adding libs in a setuid-perl script

If you need that setting of LD_LIBRARY_PATH, it won't have any effect, as you set it at run time, while the use happens at compile time. Try this instead:
BEGIN { $ENV{LD_LIBRARY_PATH} = "...your path goes here..."; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-01-24 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?