MakeMaker 6.17.
LD_RUN_PATH gets set when building a module. This really helps when
linking to a library not in the default search path.
On my Debian Sid machine it seems to also prevent overriding with
LD_LIBRARY_PATH.
I'm not sure what the correct behavior should be (which is why I'm
posting here) but is there a way to only set LD_RUN_PATH if the path
is not in the default search path?
"dates.pl" is using a module that loads libswish-e:
$ strace perl dates.pl 2>&1 | grep libswish-e.so | grep -v 'No such file'
open("/usr/local/lib/libswish-e.so.2", O_RDONLY) = 4
$ strace perl dates.pl 2>&1 | grep $HOME/foo | wc -l
0
$ LD_LIBRARY_PATH=$HOME/foo strace perl dates.pl 2>&1 | grep $HOME/foo | wc -l
32
$ LD_LIBRARY_PATH=$HOME/foo strace perl dates.pl 2>&1 | grep $HOME/foo | grep
libswish | wc -l
0
--
Bill Moseley
[EMAIL PROTECTED]