Oracle.so
am 14.06.2007 19:53:15 von Peter.Loo
------_=_NextPart_001_01C7AEAC.E5C2DD1F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
The same program that ran successfully yesterday is failing with the
following error today. Can someone please shed some light what this
error means?
=20
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.
=20
Peter
------_=_NextPart_001_01C7AEAC.E5C2DD1F--
Re: Oracle.so
am 14.06.2007 20:01:44 von mnhan
Hi,
Did you compile/installed with the 32bit libclntsh and now you are
pointing it at the 64bit version of the library so you are getting a 64bit
library warning?
> o.10.1: wrong ELF class: ELFCLASS64 at
Did your library path or oracle_home changed?
Michael
On Thu, 14 Jun 2007, Loo, Peter # PHX wrote:
> Date: Thu, 14 Jun 2007 10:53:15 -0700
> From: "Loo, Peter # PHX"
> To: dbi-users@perl.org
> 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
>
--
---//---
"He who learns must suffer. And even in our sleep,
pain that cannot forget, falls drop by drop upon the heart;
and, in our own despair, against our will,
comes wisdom to us by the awful grace of God."
--- Aeschylus
Re: Oracle.so
am 14.06.2007 20:08:37 von scoles
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/msg305 09.html
----- Original Message -----
From: "Loo, Peter # PHX"
To:
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
RE: Oracle.so
am 14.06.2007 20:11:08 von Peter.Loo
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:scoles@pythian.com]=20
Sent: Thursday, June 14, 2007 11:09 AM
To: Loo, Peter # PHX; dbi-users@perl.org
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/msg305 09.html
----- Original Message -----
From: "Loo, Peter # PHX"
To:
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.