This is on Slackware 10.2
I removed openssl packages and then tried to reinstall from openssl-bla.bla.tar.gz. configured as shared, make install, and ldconfig. everything seemed fine. Tried lynx and it error saying it couldn't find libssl.so.0
Doing a ldconfig -p | grep libssl -
showed libssl.so and libssl.so.0.9.7 but no libssl.so.0
I went to /usr/local/ssl/lib and made sure there was a link libssl.so.0, it was there.
So I got rid of the links and ldconfig'ed and made the two links one at a time and ldconfig'ed between each one and looked at the results. here is the output
Code:
cd /usr/local/ssl/lib
rm libssl.so
rm libssl.so.0
ls -l libssl*
-rw-r--r-- 1 root root 280984 2006-01-12 16:08 libssl.a
-r-xr-xr-x 1 root root 213181 2006-01-12 16:08 libssl.so.0.9.7
/sbin/ldconfig
/sbin/ldconfig -p | grep 'libssl\.' -
libssl.so.0.9.7 (libc6) => /usr/local/ssl/lib/libssl.so.0.9.7
ln -s libssl.so.0.9.7 libssl.so.0
ls -l libssl*
-rw-r--r-- 1 root root 280984 2006-01-12 16:08 libssl.a
lrwxrwxrwx 1 root root 15 2006-01-12 21:59 libssl.so.0 -> libssl.so.0.9.7
-r-xr-xr-x 1 root root 213181 2006-01-12 16:08 libssl.so.0.9.7
/sbin/ldconfig
/sbin/ldconfig -p | grep 'libssl\.' -
libssl.so.0.9.7 (libc6) => /usr/local/ssl/lib/libssl.so.0.9.7
ln -s libssl.so.0 libssl.so
ls -l libssl*
-rw-r--r-- 1 root root 280984 2006-01-12 16:08 libssl.a
lrwxrwxrwx 1 root root 11 2006-01-12 21:59 libssl.so -> libssl.so.0
lrwxrwxrwx 1 root root 15 2006-01-12 21:59 libssl.so.0 -> libssl.so.0.9.7
-r-xr-xr-x 1 root root 213181 2006-01-12 16:08 libssl.so.0.9.7
/sbin/ldconfig
/sbin/ldconfig -p | grep 'libssl\.' -
libssl.so.0.9.7 (libc6) => /usr/local/ssl/lib/libssl.so.0.9.7
libssl.so (libc6) => /usr/local/ssl/lib/libssl.so
my ldconfig does not like libssl.so.0
I did try this script on an older slackware installation and ldconfig made the libssl.so.0 link just fine.