Error on libdb Library Installing, Patching or Starting OHS 10g on Linux Platforms (Doc ID 415244.1)

Last updated on AUGUST 21, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 9.2.0.8 [Release 9.2]
Oracle Fusion Middleware - Version 10.1.2.0.2 to 10.1.4.0.1 [Release AS10gR2]
Oracle Fusion Middleware - Version 10.1.2.2.0 to 10.1.4.3.0 [Release AS10gR2 to AS10gR3]
Oracle HTTP Server - Version 1.0.2.2.2 to 10.1.3.5.0 [Release 9iAS to AS10gR3]
Linux x86
Linux x86-64
Linux Itanium
- This is only applicable and workarounds supported for10g and earlier only
- For 11g and higher, see the Certification and System Requirements Guide for proper packages to avoid these and similar issues

Symptoms

You have installed the Oracle HTTP Server installed on Linux a platform and are now trying to apply a patch. OPatch reports the following error:

/u01/app/oracle/product/oracle_home/Apache/perl/bin/perl: error while loading shared libraries:
libdb-3.3.so: cannot open shared object file: No such file or directory

This error can also happen while starting the Oracle HTTP Server for the first time after installation on a Linux platform:

$ ./opmnctl startproc process-type=HTTP_Server

          and/or

$ ./apachectl start

/Apache/Apache/bin/httpd: error while loading shared libraries:
libdb-4.3.so: cannot open shared object file: No such file or directory

or

/Apache/Apache/bin/httpd: error while loading shared libraries:
libdb.so.2: cannot open shared object file: No such file or directory

The /Apache/Apache/logs/error_log confirms the same error. 
Note:
This may happen on any Linux platform, usually SuSE 10, RHEL 5, OEL 5.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms