Can't get DBD:Oracle to work
- From: "zman" <zakhan@xxxxxxxxx>
- Date: 29 Nov 2006 17:41:11 -0800
Hi,
I'm having trouble getting perl to talk to my Oracle database.
I've installed and tested DBI and installed DBD. However, when I try to
run a perl script that accesses the database, I get this error:
**********
install_driver(Oracle) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 82) line 3
**********
I've tried *all* the suggestions on this thread:
http://groups.google.com/group/perl.dbi.users/browse_frm/thread/f597c88d3129cff4/2c16acd9527a7e73?tvc=1&q=Oracle.so#2c16acd9527a7e73
In summary, I've tried:
1. setting the $ORACLE_HOME/lib directory in etc/ld.so.conf and run
ldconfig
2. Added PassEnvParams for the standard Oracle env variables in
httpd.conf
3. set LD_RUN_PATH, LD_LIBRARY_PATH in Makefile.PL and re-built DBD
4. Every combination of the 3 above.
But I've had no success or even insight into what is causing this
problem. Any one out there who could help me out because I've been at
this for the better part of 1 week :(
Thank you!
--Zahid.
.
- Prev by Date: Re: Connecting to more than one oracle database
- Next by Date: Not able to connect to Mysql Database using ODBC
- Previous by thread: MySQL do() memory leak?
- Next by thread: Not able to connect to Mysql Database using ODBC
- Index(es):
Relevant Pages
|
|