libnnz10.so missing when executing ggsci on Linux

I came across the error like following when I executed ggsci on OEL:

[oracle@jlee-oss ggsource1]$ ./ggsci
./ggsci: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory

those are libraries which are located in ORACLE_HOME. so, this can be easily solved using soft link.

[oracle@jlee-oss ggsource1]$ ln -s /home/oracle/product/10.2.0/db_1/lib32/libnnz10.so libnnz10.so

plus one more link as below.

[oracle@jlee-oss ggsource1]$ ln -s /home/oracle/product/10.2.0/db_1/lib32/libclntsh.so.10.1 libclntsh.so.10.1

When using 64bit, change the lib path (lib32 to lib64) above to the appropriate one.
happy replicating!

Comments:

Hi, I'm receiving this error but the symbolic link didn't help. The error is below: [appgg@f2c04 gg]$ ./ggsci ./ggsci: error while loading shared libraries: /ora01/F2C/F2CDEV1/db/tech_st/10.2.0/lib/libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied [appgg@f2c04 gg]$ the appgg user is the ORACLE_HOME owner.

Posted by Paulo on March 04, 2010 at 03:01 AM PST #

Hi, Paulo. I'm a bit late. Briefly speaking, it's because u're using SELinux. check on metalink 454196.1 or execute the following comands as a root. /usr/sbin/semanage fcontext -a -t textrel_shlib_t $ORACLE_HOME/lib/libnnz11.so /usr/sbin/semanage fcontext -a -t textrel_shlib_t $ORACLE_HOME/lib/libnque11.so /usr/sbin/semanage fcontext -a -t textrel_shlib_t $ORACLE_HOME/lib/libclntsh.so.11.1 Jay

Posted by changjae.lee on March 07, 2010 at 06:34 PM PST #

I think the environment variables are not set properly. Please set the Golden Gate variables before u try starting. Rakesh

Posted by Rakesh on January 18, 2011 at 01:12 AM PST #

Rakesh, yes. you are correct. I should have fixed this article a while before. Thanks.

Posted by changjae.lee on January 18, 2011 at 09:14 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Solution & Technology Architect, Asia Pacific

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today