libc.so.5 vs libc.co.4
ODHIAMBO Washington
wash at wananchi.com
Wed Aug 13 04:47:00 PDT 2003
Okay folks, please bear with me here because I don't know what I am talking
about in technical terms:
OS : 5.1-RELEASE.
I have installed mod_php4 using the following command:
portinstall -m "-DWITH_APACHE2" mod_php4
So it went ahead and installed Apache-2.0.47, upgrading stuff
while it goes.
Once completed,
apachectl configtest core dumps with signal 11!
I had seen this before sometimes and there was a mention of libc.so.4
However when I do
ln -s /usr/lib/libc.so.5 /usr/lib/libc.so.4
apachectl configtest says OK.
I am stumped. Apache has been installed afresh, mod_php4 also a fresh
Why am I getting this funny stuff??? Why do I need libc.so.4??
I seriously need some guru advise and so THANK YOU in advance.
beastie# cd /usr/lib
beastie# ls -al libc.so.5
-r--r--r-- 1 root wheel 886848 Aug 12 15:31 libc.so.5
beastie# ls -al libc.so.4
ls: libc.so.4: No such file or directory
beastie# ln -fs libc.so.5 libc.so.4
beastie# apachectl configtest
Syntax OK
beastie# locate libc.so.4
/usr/jail/212.49.74.108/usr/lib/libc.so.4
/usr/lib/compat/libc.so.4
/usr/local/lib/compat/libc.so.4
/usr/src/lib/compat/compat4x.alpha/libc.so.4.bz2.uu
/usr/src/lib/compat/compat4x.i386/libc.so.4.bz2.uu
beastie# ldd `which httpd`
/usr/local/sbin/httpd:
libz.so.2 => /usr/lib/libz.so.2 (0x480b3000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x480c1000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x480f2000)
libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 (0x481ff000)
libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x48212000)
libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x48232000)
libm.so.2 => /usr/lib/libm.so.2 (0x4824e000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x4826b000)
libc.so.5 => /usr/lib/libc.so.5 (0x48284000)
-Wash
--
Odhiambo Washington <wash at wananchi.com> "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD."
GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-)
Hartley's First Law:
You can lead a horse to water, but if you can get him to float
on his back, you've got something.
More information about the freebsd-questions
mailing list