Problem:
While installing R12 on Linux, the following error appears:
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: Permission denied
General Solution:
– As per an internal Bug:4045349, this is an issue with O/S side installation of compat-db rpm.
libdb.so.3 gets installed when compat-db rpm is installed.
– The O/S installation CD would contain compat-db
e.g compat-db-4.1.25-6.i386.rpm ( may change as per your version ).
– Manually install the compat-db rpm
e..g “rpm -ivh compat-db-4.1.25-6.i386.rpm”
(Contact the O/S Administrator for more information to install the compat-db rpm and correct command )
– Once it is done, re-try to install the applications. ( if the screen shows the Re-try option )
OR
– Remove/clean the current installation ( refer Note:169402.1 ) and re-install the application.
This would resolve the “..libdb.so.3…” error.
Solution in this situation:
[root@oel5vis4bi lib]# pwd /usr/lib [root@oel5vis4bi lib]# ls -al libdb.* lrwxrwxrwx 1 root root 22 Mar 22 15:01 libdb.so -> ../../lib/libdb-4.3.so -rwxr-x--- 1 root root 5825 Jul 2 11:53 libdb.so.2 -rw-r--r-- 1 root root 5825 Mar 23 11:40 libdb.so.2.6078836 lrwxrwxrwx 1 root root 19 Mar 23 11:42 libdb.so.3 -> /usr/lib/libdb.so.2 [root@oel5vis4bi lib]#
libdb.so.2 extracted from patch 6078836
Change permission on libdb.so.2 to 644:
chmod 644 libdb.so.2
Reference:
11.5.10 Installation Fail on RedHat Server. Error while loading shared libraries: libdb.so.3 [ID 294043.1]
0 Comments.