Thanks John and Mike. I was trying to run it through the cron so the required environment was not being set correctly. I have fixed that and all is working again.
Thanks. Peter -----Original Message----- From: John Scoles [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 11:09 AM To: Loo, Peter # PHX; [email protected] Subject: Re: Oracle.so You most likly are not pointing to the correct Oracle path. You are pointing to most-likely the 64 bit so lisb file rather than the 32 bit so libs that DBD::Oracle requires. here are some links to similar problems http://www.issociate.de/board/goto/790359/Can't_load_Oarcle.so.html http://www.nntp.perl.org/group/perl.dbi.users/2006/11/msg30509.html ----- Original Message ----- From: "Loo, Peter # PHX" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, June 14, 2007 1:53 PM Subject: Oracle.so Hi, The same program that ran successfully yesterday is failing with the following error today. Can someone please shed some light what this error means? ERROR: Connection failed to xxxxx for user xxxxx. install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.7/s un4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: GSQL.pl: fatal: /opt/app/oracle/product/10.2/lib/libclntsh.s o.10.1: wrong ELF class: ELFCLASS64 at /usr/local/lib/perl5/5.8.7/sun4-solaris/DynaLoader.pm line 230. at (eval 14) line 3 Compilation failed in require at (eval 14) line 3. Perhaps a required shared library or dll isn't installed where expected Thanks. Peter This E-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply E-mail, and destroy all copies of the original message.
