Last night I posted a question about using Perl DBI connecting to Oracle. The
problem is solved by copying an old version (8.1.5) Oracle libraries (the
entire $ORACLE_HOME/lib directory) from one machine to this machine. Prior to
running my testdb.pl, I set the environment variable on command line
LD_LIBRARY_PATH to this library directory. It seems that simply copying one or
two library files didn't help.

Yong Huang

I wrote:

I have a simple Perl program using DBI trying to connect to Oracle 8.1.6 on
Solaris 2.6. I got the following error:

$ testdb.pl ip2 ip1 ip1
install_driver(Oracle) failed: Can't load
'/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so' for
module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so: symbol
nauzaoss: referenced symbol not found at
/usr/local/lib/perl5/sun4-solaris/5.00404/DynaLoader.pm line 166.

at (eval 1) line 2

at testdb.pl line 12

Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one Place.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
postedNov 8, '00 at 3:41p
activeNov 8, '00 at 3:41p

1 user in discussion

Yong huang: 1 post



site design / logo © 2023 Grokbase