A technical troubleshooting blog about Oracle with other Databases & Cloud Technologies.

Golden Gate Error while loading shared libraries.

1 min read

Error

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

Solution

export LD_LIBRARY_PATH=$ORACLE_HOME/lib
ldd ggsci

ORACLE

Set DB Env which is configured for GG Setup

For 19c: Trigger below commands for the fix

ln -s /u01/oracle/product/19/db/lib/libnnz19.so libnnz19.so
ln -s /u01/oracle/product/19/db/lib/libclntsh.so.19.1 libclntsh.so.19.1
ln -s /u01/oracle/product/19/db/lib/libclntshcore.so.19.1 libclntshcore.so.19.1
./ggsci

For 11g: Trigger below commands for the fix

ln -s $ORACLE_HOME/lib/libnnz11.so libnnz11.so
ln -s $ORACLE_HOME/lib/libclntsh.so.11.1 libclntsh.so.11.1
./ggsci