Error Message :
error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
After installing or upgrading an Applications Manager (AM) installation to version 9, Apache fails to start. When the apachectl start command is issued the above error message is displayed.
The error indicates that the Operating System (OS) libraries needed by Apache to start are missing or have the incorrect libraries.
The Apache version delivered in AM is version 2.0, and is 32 bit. Automic ships with an older version in order to be compatible with older supported OS's. Therefore, If you are running a 64 bit machine (especially Unix or Linux machines), starting the Apache server after an install/upgrade is a common problem because the older 32 bit libraries are not available on newer OS's (or 64 bit machines) by default.
OS Version: N/A
Root Cause: Applications Manager ships with an older 32 bit version of Apache (Apache 2.0.40) in order to be compatible with older Operating Systems that are still supported.
- Install the 32 bit Apache library files and re-run the upgrade or installation
- Create a symbolic link in the /usr/lib directory by running the following commands:
ln -s libdb-4.3.so libdb-3-3.so
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Ensure the links have the correct permissions:
chmod 755 /usr/lib/libdb-3-3.so
chmod 755 /usr/lib/libdb.so.2
Fix Status: No Fix