Thursday, 10 May 2012

Goldengate 11g :: ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file

GoldenGate !!




[oracle@oralinux ggs_src]$ ./ggsci 



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




-- for 11g ---
[oracle@oralinux ggs_src]$ ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so libnnz11.so
[oracle@oralinux ggs_src]$ ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1 libclntsh.so.11.1
-- for 10g ----

[oracle@oralinux ggs_src]$ ln -s /u01/app/oracle/product/10.2.0.4/db_1/lib/libnnz10.so libnnz10.so
[oracle@oralinux ggs_src]$ ln -s /u01/app/oracle/product/10.2.0.4/db_1/lib/libclntsh.so.10.1 libclntsh.so.10.1


[oracle@oralinux ggs_src]$ ./ggsci 

Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 
Linux, x86, 32bit (optimized), Oracle 11g on Oct  4 2011 23:53:33

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



GGSCI (oralinux.oraworld.co.uk) 1> exit

done !!



2 comments:

Stian Indal Haugseth said...

Or you can just add the library to path like this: export LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:$LD_LIBRARY_PATH

Anonymous said...

hi!!! after unzipping i am not getting "lib" directory...what to do now?