in reply to
Re: How to set LD_LIBRARY_PATH
in thread How to set LD_LIBRARY_PATH
I can't think of anything to try this with right now but it's unlikely to work. Dynamically loaded modules use dlopen(3) to open libraries, whose Linux manpage says:
o If, at the time that the program was started, the environment vari
LD_LIBRARY_PATH was defined to contain a colon-separated list of d
these are searched.
Note the "at the time that the program was started" bit, which means the binary i.e. the Perl interpreter here.