If you haven't done so, export an environmental variable called SHLIB_PATH
that contains the path to your system's
ORACLE_HOME/lib directory.

For me it looks like:

export SHLIB_PATH=$ORACLE_HOME/lib:$SHLIB_PATH

Hope this helps,

Bryan



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 8:07 AM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Memo: DBD Oracle error


I have installed the DBD-Oracle and DBI modules but my script falls over
when it tries to connect to the oracle database with the following error.
Has anyone got this error before ?


/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
install_driver(Oracle) failed: Can't load
'/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBD/Oracle/Oracle.sl' for
module DBD::Oracle: Exec format
error at /opt/perl5/lib/5.6.1/PA-RISC2.0/DynaLoader.pm line 206, <GEN1> line
44.
 at (eval 7) line 3
Compilation failed in require at (eval 7) line 3, <GEN1> line 44.
Perhaps a required shared library or dll isn't installed where expected



I have checked and the Oracle.sl file is in the directory



Thanks

Kobby




_____________________________________________________

This transmission has been issued by a member of the HSBC Group 
"HSBC" for the information of the addressee only and should not be 
reproduced and / or distributed to any other person. Each page attached 
hereto must be read in conjunction with any disclaimer which forms part 
of it. Unless otherwise stated, this transmission is neither an offer nor
the 
solicitation of an offer to sell or purchase any investment. Its contents
are 
based on information obtained from sources believed to be reliable but
HSBC makes no representation and accepts no responsibility or liability as 
to its completeness or accuracy.

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to