in reply to Re: Re: Setting env vars in current process
in thread Setting env vars in current process
then the problem may be that the envar isn't getting set until after the library gets loaded. In which case, try$ENV{'LD_LIBRARY_PATH'} = '/...'; use XML::LibXML;
BEGIN { $ENV{'LD_LIBRARY_PATH'} = '/...'; } use XML::LibXML;
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Setting env vars in current process
by ruscoekm (Monk) on Feb 11, 2003 at 20:11 UTC |