Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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' for module DBD::Oracle: Exec format error at / +rl5.16.1/lib/5.16.1/PA-RISC2.0/ 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/ Can't shl_load() a li +brary containing Thread Local Storage: /usr/lib/libpthread.1 /usr/lib/ 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/' for module D +BD::Oracle: Exec format error at / +A-RISC2.0/ line 190. # at (eval 9) line 3.


Replies are listed 'Best First'.
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 (Abbot) 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/

    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/ => /pro/oracle/v920/lib/ libm.2 => /lib/pa20_64/libm.2 => /pro/oracle/v920/lib/ => /pro/oracle/v920/lib/ 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 => /pro/oracle/v920/lib/ 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/ PA-RISC2.0-LP64/auto/DBD/Oracle/ 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: libm.2 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1002307]
Approved by marto
[Corion]: Meh, I found another Amazon "used" scam reseller... If a product sells for "almost new" at half the price, it's a scam, most likely...
[ambrus]: Corion: that's not true. Actually for Christmas and Thanksgiving, a lot of people buy electronics such as cameras as present, then many of them figure out they don't need it,
[ambrus]: and the electronics gets reselled almost new, but it has to be sold at half price because otherwise everyone chooses to buy the new product which has fewer risk of selling damaged products labelled as almost new.
[ambrus]: You can actually get a lot of useful cheap really almost new products that way, with only a little risk of scams.
[ambrus]: That's what some of the "Black Friday" sales are about.
[Corion]: ambrus: Well, usually, these people don't have in their description "mail me at dodgy_reseller # g m a i l | co m" , replace the "#" by "@" :)
[Corion]: Oh, and the "o" in "com" is a zero

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-11-21 15:01 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (304 votes). Check out past polls.