wrong ELF class: ELFCLASS32

Hello ,

We recently upgraded our sun hardware to Sun-Fire-V440, during the migration we copied the data from old file system to the new hardware. all the file system configuration and names are same on the old and new server. Now on the new server tivoli commands are not working

#/opt/tivoli/tsm/client/oracle/bin64/tdpoconf

ld.so.1: tdpoconf: fatal: /usr/ucblib/libucb.so.1: wrong ELF class: ELFCLASS32

Killed

Tivoli is 64-bit and the 64 bit library is present in /usr/ucblib/sparcv9 but the command is looking in 32 bit library.

do we need to set any environment variales for this ?

Any help appreciated,

Thanks

[670 byte] By [Soldex] at [2007-11-26 7:57:41]
# 1
Hello.I'm not sure if this helps but I would change the ld.so linker environment variables:LD_LIBRARY_PATH=/usr/ucblib/sparcv9export LD_LIBRARY_PATHtdbconfMartin
Martin_Rosenau at 2007-7-6 20:24:17 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Thanks for the reply, but if i set LD_LIBRARY_PATH to /usr/ucblib/sparcv9 tdpoconf hangs.

Oracle binaries are also giving problem

sqlplus "/as sysdba"

SQL*Plus: Release 8.1.7.0.0 - Production on Wed Jun 14 04:12:45 2006

(c) Copyright 2000 Oracle Corporation. All rights reserved.

ld.so.1: oracle: fatal: /usr/ucblib/libucb.so.1: wrong ELF class: ELFCLASS32

ERROR:

ORA-12547: TNS:lost contact

LD_LIBRARY_PATH=/u01/app/oracle/product/8.1.7/lib64:/u01/app/oracle/product/8.1 .7/lib:/usr/lib

Soldex at 2007-7-6 20:24:17 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...