The classic way to handle this is to have a script (shell mostly but it could be perl) that first sets the environment correctly and then executes the dependent program:
#!/bin/bash export LD_LIBRARY_PATH=/path/to/foo:$LD_LIBRARY_PATH /path/to/perl/script
In reply to Re: DynaLoader and LD_LIBRARY_PATH
by derby
in thread DynaLoader and LD_LIBRARY_PATH
by CountOrlok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |