in reply to (tye)Re: Setting LD_LIBRARY_PATH for DynaLoader modules
in thread Setting LD_LIBRARY_PATH for DynaLoader modules
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.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (tye)Re: Setting LD_LIBRARY_PATH for DynaLoader modules
by BigJoe (Curate) on Jan 05, 2001 at 23:02 UTC | |
by Fastolfe (Vicar) on Jan 06, 2001 at 02:02 UTC |