Home > GG > libnnz11.so: cannot open shared object file: No such file or directory

libnnz11.so: cannot open shared object file: No such file or directory

June 5, 2013

Today while executing ggsci(First time after install) I got hit with following error.

$ pwd

/u01/app/oracle/gg_amer

$ ./ggsci

./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

Found that required lib files are not available. I have already installed oracle 11gR2 and the above lib file already exist in Oracle home, hence I did a soft link to lib file located in ORACLE_HOME/lib(My OS linux 64 bit).

$ pwd

/u01/app/oracle/gg_amer

$ ./ggsci

./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory

$ ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so libnnz11.so

$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBO

Linux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:20:21

Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.

GGSCI (xyz.us.ABCD.com) 1>

 

alternatively you can set the following environment variable.

LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/server/:$ORACLE_HOME/lib
export LD_LIBRARY_PATH

 

I did both ways and problem got resolve.

 

Advertisements
Categories: GG
%d bloggers like this: