Attempting to load an 8.1.6 version (libclntsh.so.8.0) succeeds, but I guess Oracle.so is still expecting the older version, so I still get the 'open failed' error from install_driver(Oracle)/DynaLoader..dl_load_file: ld.so.1: /export/home/webadmin/bin/perl: fatal: relocati +on error: file /usr/local/opt/oracle/product/8.0.5/lib/libclntsh.so: +symbol slpmprodstab: referenced symbol not found at VDS/Tests/DB.pm l +ine 29.
On a related note, I can't figure out how to get Netscape web server 3.6 to pass this LD_LIBRARY_PATH to CGI scripts! Grr.. (Update: I have since figured this out, so my problem is essentially solved.)
The exec solution isn't an option here, since this is actually a module and I'd kind of like to keep it transparent to the caller. Is there any way I can modify Oracle.so's RUN_PATH without rebuilding Oracle.so? (We resorted to some serious trickiness to get this to build, since this system doesn't have a fully copy of Oracle installed on it.)
In reply to Re: (tye)Re: Setting LD_LIBRARY_PATH for DynaLoader modules
by Fastolfe
in thread Setting LD_LIBRARY_PATH for DynaLoader modules
by Fastolfe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |