I believe you have to add to the array after DynaLoader loads but before your module tries to use it. That is, use DynaLoader in your code, extend the array in a BEGIN block, then use the module you want normally.
An easier option is to set the appropriate environment variable, LD_LIBRARY_PATH before launching your process.
In reply to Re: Dynaloader library path
by chromatic
in thread Dynaloader library path
by jimr451
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |