Apache / libdb2 error
I did my periodic dselect upgrade and Apache broke.
# /etc/init.d/apache start
Starting web server: apache/usr/sbin/apache: error while loading shared
libraries: libdb.so.2: cannot open shared object file: No such file or
directory
failed
After looking at /usr/lib, "dpkg -S libdb\*" and
"dpkg -L libdb2 | grep lib", I tried:
# ln -s libdb2.so.2.7.7 /lib/libdb.so.2
# ldconfig
# /etc/init.d/apache start
Starting web server: apacheSyntax error on line 72 of
/etc/apache/httpd.conf:
Cannot load /usr/lib/apache/1.3/mod_rewrite.so into server:
/lib/libdb.so.2: version `GLIBC_2.0' not found (required by
/usr/lib/apache/1.3/mod_rewrite.so)
failed
The versions are:
ii apache 1.3.26-1 Versatile, high-performance HTTP server
ii libdb2 2.7.7.0-7 The Berkeley database routines (run-time fil
It looks like the library should be compatible:
# file /lib/libdb.so.2
/lib/libdb.so.2: symbolic link to libdb2.so.2.7.7
# strings /lib/libdb2.so.2.7.7 | grep GLIBC
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.1
GLIBC_2.0
Any ideas?
--
-Mike (Iron) Orr, iron@mso.oz.net (if mail problems: mso@oz.net)
http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol
Reply to: