install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-28 Thread Christian Merz
Hello all, i wrote a skript which works fine for several Oracle Versions on several platforms (linux, solarias 8/9). if i run that script ineractively on solaris 10 it also works fine. if i run it as a cron job i get: install_driver(Oracle) failed: Can't load '/usr/perl5/site_perl/5.8.4/sun4

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-28 Thread Jonathan Leffler
On Wed, May 28, 2008 at 8:30 AM, Christian Merz <[EMAIL PROTECTED]> wrote: > i wrote a skript which works fine for several Oracle Versions on several > platforms (linux, solarias 8/9). > > if i run that script ineractively on solaris 10 it also works fine. > > if i run it as a cron job i get: cr

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-28 Thread Alexander Alekseev
Hello! On Wed, 28 May 2008, Christian Merz wrote: module DBD::Oracle: ld.so.1: perl: fatal: /oracle/product/10.2.0/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64 at ... LD_LIBRARY_PATH -> /oracle/product/10.2.0/lib:/oracle/product/10.2.0/lib32 Change LD_LIBRARY_PATH to:

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-28 Thread Christian Merz
Hi Jonathan, i set the environment in my skript, the libs are installed correctly - or the script won't run interactively. so, there is a problem with the environment but i cannot see it. is there something important besides @INC and %ENV? i already tried both versions of LD_LIBRARY_PATH /o

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-28 Thread Jonathan Leffler
On Wed, May 28, 2008 at 11:47 PM, Christian Merz <[EMAIL PROTECTED]> wrote: > i set the environment in my skript, the libs are installed correctly - or > the script won't run interactively. > I'm not the Oracle expert - treat what I say with a pinch of salt. I do use Solaris 10 quite a lot, thou

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-29 Thread Christian Merz
Hi Jonathan, you saved my day! as as workaround i wrote this shell skript: LD_LIBRARY_PATH="/export/home/oracle/product/10.2.0/lib:/export/home/oracle/product/10.2.0/lib32" export LD_LIBRARY_PATH /oracle/dba/backup/ora19/DbOnline.pl ora19 and now it works. Thank you ! ... But this is a workar

Re: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-29 Thread Peter J. Holzer
On 2008-05-29 09:26:29 +0200, Christian Merz wrote: > as as workaround i wrote this shell skript: > > LD_LIBRARY_PATH="/export/home/oracle/product/10.2.0/lib:/export/home/oracle/product/10.2.0/lib32" > export LD_LIBRARY_PATH > /oracle/dba/backup/ora19/DbOnline.pl ora19 > > and now it works. Thank

RE: install_driver(Oracle) failed: wrong ELF class: DynaLoader.pm

2008-05-29 Thread Rutherdale, Will
t: Re: install_driver(Oracle) failed: wrong ELF class: > DynaLoader.pm > > Hi Jonathan, > > you saved my day! > > as as workaround i wrote this shell skript: > > LD_LIBRARY_PATH="/export/home/oracle/product/10.2.0/lib:/expor > t/home/oracle/product/10.2.0/lib32&q