Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

DBD Installation Error

by kprasanna_79 (Hermit)
on Nov 05, 2012 at 11:10 UTC ( #1002307=perlquestion: print w/ replies, xml ) Need Help??
kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:

Revered Monks,
I am trying to install DBD::Oracle Module in my UNIX box and i am getting the below error. I am using perl 5.16.1 amd DBD version 1.50. Please throw some light on this error.
Can't load '/home/mozilla/DBD-Oracle-1.50/blib/arch/auto/DBD/Oracle/Or +acle.sl' for module DBD::Oracle: Exec format error at /web.dev.sys/pe +rl5.16.1/lib/5.16.1/PA-RISC2.0/DynaLoader.pm line 190. at t/00versions.t line 10. Compilation failed in require at t/00versions.t line 10. BEGIN failed--compilation aborted at t/00versions.t line 10. # Looks like your test exited with 8 before it could output anything. t/00versions.t ............ Dubious, test returned 8 (wstat 2048, 0x80 +0) Failed 2/2 subtests t/01base.t ................ 1/6 /usr/lib/dld.sl: Can't shl_load() a li +brary containing Thread Local Storage: /usr/lib/libpthread.1 /usr/lib/dld.sl: Exec format error # Failed test 'install_driver' # at t/01base.t line 24. # got: 'install_driver(Oracle) failed: Can't load '/home/mozi +lla/DBD-Oracle-1.50/blib/arch/auto/DBD/Oracle/Oracle.sl' for module D +BD::Oracle: Exec format error at /web.dev.sys/perl5.16.1/lib/5.16.1/P +A-RISC2.0/DynaLoader.pm line 190. # at (eval 9) line 3.

-Prasanna.K

Comment on DBD Installation Error
Download Code
Re: DBD Installation Error
by space_monk (Chaplain) on Nov 05, 2012 at 11:22 UTC
    Any possibility you've got a 32 <=> 64 bit library compatibility issue?

    I also found this on Perlmonks which seems to be similar in nature....

Re: DBD Installation Error
by marto (Bishop) on Nov 05, 2012 at 11:22 UTC
Re: DBD Installation Error
by Tux (Monsignor) on Nov 07, 2012 at 15:17 UTC

    What is your dependency output with chatr and ldd:

    $ ldd /home/mozilla/DBD-Oracle-1.50/blib/arch/auto/DBD/Oracle/Oracle.sl

    Then look at the access rights on each of the depending libraries and check if your $SHLIB_PATH and $LD_LIBRARY_PATH

    $ ldd PA-RISC2.0-LP64/auto/DBD/Oracle/ Oracle.sl libclntsh.sl.9.0 => /pro/oracle/v920/lib/libclntsh.sl.9.0 libm.2 => /lib/pa20_64/libm.2 libqsmashr.sl => /pro/oracle/v920/lib/libqsmashr.sl libwtc9.sl => /pro/oracle/v920/lib/libwtc9.sl librt.2 => /lib/pa20_64/librt.2 libpthread.1 => /lib/pa20_64/libpthread.1 libnss_dns.1 => /lib/pa20_64/libnss_dns.1 libdl.1 => /lib/pa20_64/libdl.1 libm.2 => /lib/pa20_64/libm.2 libc.2 => /lib/pa20_64/libc.2 libcl.2 => /lib/pa20_64/libcl.2 libwtc9.sl => /pro/oracle/v920/lib/libwtc9.sl libcl.2 => /lib/pa20_64/libcl.2 librt.2 => /lib/pa20_64/librt.2 libpthread.1 => /lib/pa20_64/libpthread.1 libnss_dns.1 => /lib/pa20_64/libnss_dns.1 libdl.1 => /lib/pa20_64/libdl.1 libm.2 => /lib/pa20_64/libm.2 libc.2 => /lib/pa20_64/libc.2 libdl.1 => /usr/lib/pa20_64/libdl.1 $ chatr PA-RISC2.0-LP64/auto/DBD/Oracle/Oracle.sl PA-RISC2.0-LP64/auto/DBD/Oracle/Oracle.sl: 64-bit ELF shared library shared library dynamic path search: LD_LIBRARY_PATH enabled first SHLIB_PATH enabled second embedded path enabled third /pro/local/lib:/lib/pa +20_64:/pro/oracle/v920/rdbms/lib/:/pro/oracle/v920/lib/ shared library list: libclntsh.sl.9.0 libm.2 libqsmashr.sl shared library mapped private disabled shared vtable support disabled explicit unloading enabled linkage table protection disabled segments: index type address flags size 5 text 4000000000000000 z---c- D (default) 6 data 8000000100000000 ---m-- D (default) static branch prediction disabled kernel assisted branch prediction enabled lazy swap allocation for dynamic segments disabled nulptr dereferences trap disabled $ echo $LD_LIBRARY_PATH /usr/local/ssl/lib:/pro/asql/o82C/bin:/pro/asql/o82C/lib:/usr/lib:/pro +/po/bev/lib:/pro/oracle/v920/lib $ echo $SHLIB_PATH /pro/oracle/v920/lib:/pro/asql/o82C/lib/perl/5.14.2/PA-RISC2.0-LP64/au +to/DBD/Oracle:/usr/local/ssl/lib:/pro/asql/o82C/bin:/pro/asql/o82C/li +b:/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib:/pro/local/lib:/usr/loc +al/lib:/wrk/pa20_64-3.4.6/lib

    Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1002307]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-07-05 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls