recently I installed ntop-4.1.0_2 on my server, and it ask me to upgrade my gdbm into gdbm-1.9.1. But after the installation, my Apache wont start since the libgdbm replaced from libgdbm.so.3 into libgdbm.so.4, and when I try to start the apache, it shown
/libexec/ld-elf.so.1: Shared object "libgdbm.so.3" not found, required by "httpd"
When I run ldd /usr/local/sbin/httpd it gives an answer
/usr/local/sbin/httpd:
libm.so.5 => /lib/libm.so.5 (0x280da000)
libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x280f4000)
libaprutil-1.so.3 => /usr/local/lib/libaprutil-1.so.3 (0x28130000)
libdb-4.2.so.2 => /usr/local/lib/libdb-4.2.so.2 (0x2814c000)
libgdbm.so.3 => not found (0x0)
libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28220000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28240000)
libapr-1.so.4 => /usr/local/lib/libapr-1.so.4 (0x28336000)
libcrypt.so.5 => /lib/libcrypt.so.5 (0x2835d000)
libthr.so.3 => /lib/libthr.so.3 (0x28376000)
libc.so.7 => /lib/libc.so.7 (0x2838b000)
that's happened because the current version of Apache I used that time was not support the new libgdbm that I have in my server, so if you face the error, the only suggestion I can give to you is
upgrade the apache into 2.2.21
manually uninstall it and then install the new version of Apache
I know it sounds stupid, but believe me, it works :D