Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Installing 32 BIT DBI and DBD

by gaurav_herein (Novice)
on Aug 30, 2013 at 06:59 UTC ( #1051553=note: print w/replies, xml ) Need Help??

in reply to Installing 32 BIT DBI and DBD

Hi Kevbot, xxxxx is throwing ELFCLASS32 error and DBI is working fine when using 64 bit perl. AND xxxxx is working fine and DBI is throwing ELFCLASS64 error when using 32 bit perl Thanks.

Replies are listed 'Best First'.
Re^2: Installing 32 BIT DBI and DBD
by Anonymous Monk on Aug 30, 2013 at 07:56 UTC

    so the one-bittness perl is loading another-bitness .so and complaining?

    In that case you've got a path problem, you gotta make sure the 32bit-ness programs can't see the the 64bit-ness paths. Change LD_LIBRARY_PATH, figure out the paths like ldd -v like this ...

      Its set to 32 bit lib of oracle. and PERL5LIB is set to 32 bit perl

        Are you saying the 32bit perl is trying to build/compile/makemaker a 64bit DBI?

        Thats very unlikely -- you're probably calling the 64bit perl instead of the 32bit perl -- check which perl you're calling :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051553]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2018-05-25 17:14 GMT
Find Nodes?
    Voting Booth?