| [reply] [d/l] |
Thanks for the help!
The problem turned out to be us not using the new perl binary after make perl.
DOH!
Thanks again,
Frank
| [reply] |
I might suggest rebuilding DBI with the same flag
( LINKTYPE=static ). install_driver is called from
DBI.pm and the error message seems to imply it is looking
for a shared module. DBI needs to be told that you linked
statically.
mikfire | [reply] |
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
You will also want to put this in your /etc/profile file. And put SetEnv LD_LIBRARY_PATH=$ORACLE_HOME/lib in you httpd.conf
--BigJoe
Learn patience, you must. Young PerlMonk, craves Not these things. Use the source Luke. | [reply] [d/l] |
FYI, that solution actually solves a similar problem, the one evidenced by this error:
install_driver(Oracle) failed: Can't load
'/usr/local/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/Oracle/Oracl
+e.so'
for module DBD::Oracle: ld.so.1:/usr/local/bin/perl: fatal:
libclntsh.so.8.0: open failed: No such file or directory at
/usr/local/lib/perl5/5.00503/i86pc-solaris-thread/DynaLoader.pm
line 169.
This error occurs when all the DBD::Oracle files are found, but the main Oracle libraries aren't. In the original poster's case the DBD::Oracle files weren't found (this problem actually isn't as common, though).
| [reply] [d/l] |