Tofigh, Mike (NIH/NEI) [C] wrote:
Here is the error I get when I run the application
 at ..../cgi-bin/NEI/ibank_lib.dbi line 24
install_driver(Oracle) failed: Can't load 
'/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris-thread-multi/auto/DBD/Oracle/Oracle.so'
 for module DBD::Oracle: ld.so.1: perl: fatal: 
..../app/oracle/product/10.2.0/db/lib/libclntsh.so.11.1: Permission denied at 
/usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi/DynaLoader.pm line 230.
 at (eval 12) line 3

If you search the archives of this list (see dbi.perl.org) you'll find this problem a number of times. I believe you need to examine and change the permissions on files and directories in the /app/oracle tree to ensure they are readable, searchable (directories) and executable (on the shared libs) by the user your CGI script is running as.

If you logon as the user running your web server and cgi and try:

ldd /app/oracle/product/10.2.0/db/lib/libclntsh.so.11.1

and get a permission error you still have a problem.

Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com




Thanks for your help
Mike Tofigh
Digicon Contractor
(301)-213-6640



-----Original Message-----
From: Martin Evans [mailto:[EMAIL PROTECTED]
Sent: Mon 9/8/2008 11:52 AM
To: Tofigh, Mike (NIH/NEI) [C]
Cc: [email protected]
Subject: Re: DBD::oracle DBD::ODBC DBI
Tofigh, Mike (NIH/NEI) [C] wrote:
where can I get instance client lib from

http://www.oracle.com/technology/tech/oci/instantclient/index.html

What it does not work is the dbd::oracle in the perl program complaint about 
can not find. Oracle lib
I will check it and send you the info when I get to the office
Thanks
I

ok.

Martin

Reply via email to