Thursday, April 12, 2012

error while loading shared libraries: libnnz11.so: wrong ELF class: ELFCLASS32

Golden Gate  issue.

Cause:
When you run ./ggsci from your host, you can see below error

./ggsci: error while loading shared libraries: libnnz11.so: wrong ELF class: ELFCLASS32

Solutions:
    You need setup  LD_LIBRARY_PATH in your host
for example
export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib


4 comments:

  1. But what to do if I have on source machine : DB 10g and Golden Gate 11g ? I don't have in $ORACLE_HOME/lib libnnz11.so , there is libnnz10.so

    ReplyDelete
  2. or when Database 32 bit and GoldenGate 64 bit (my sample)

    ReplyDelete
  3. getting same error as my database is 32 bit and OS linux is 64bit
    (LD_LIBRARY_PATH is set correctly ) ..do we have any solution to this ?

    ReplyDelete