Re: wrong ELF class: ELFCLASS32

Hello Shankar,
Try this

ldd /usr/ucblib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/ => /usr/lib/

You should also have:


ldd /usr/ucblib/sparcv9/ => /usr/lib/64/ => /usr/lib/64/ => /usr/lib/64/ => /usr/lib/64/ => /usr/lib/64/
/usr/platform/SUNW,Sun-Fire-V890/lib/sparcv9/ sort: fatal: /usr/ucblib/ wrong ELF class:

As you can see the message you are getting shows that you are pointing
to a 32 bit shared object.

The solution is to insure you compile with a compiler that is 64bit
capable or any shared object is 64 bit format.

file /usr/ucblib/sparcv9/
/usr/ucblib/sparcv9/ ELF 64-bit MSB dynamic lib
SPARCV9 Version 1, dynamically linked, not stripped

So you can edit your LD_LIBRARY_PATH to include /usr/ucblib/sparcv9
Try this:

setenv LD_LIBRARY_PATH /usr/ucblib/sparcv9:$LD_LIBRARY_PATH

Please be aware of these differences.