ldconfig problem
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 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. |
Have you tried adding /usr/local/ssl/lib to /etc/ld.so.conf and running ldconfig?
|
From my Slackware 10.2 (current) install
Code:
steve@peggyo:~$ locate libssl.so |
I should have mentioned that I had included /usr/local/ssl/lib in the ld.so.conf.
I allowed the install to go to /usr/local... because I beleve that the convention is for user installed packages to go there and packages that are part of the distribution go to /usr... I have done this before on Slackware 9.1. ie remove the slackware openssl packages and then install the most recent openssl tarball without problem. This time with Slackware 10.2 I removed the packeges and tried openssl-0.9.8a. The install went fine. Then I noticed that lynx and wget wouldn't start because of no libssl.so.0. So I got looking in the install of openssl-0.9.8a and there was no libssl.so.0 symbolic link. Thats when I tried making the link by hand and running ldconfig. That didn't work. So I tried openssl-0.9.7e which had make the libssl.so.0 symlink on my 9.1 system. That didn't work either even though the make had created the libssl.so.0 symlink. I think I will just use the Slackware openssl packages for now. |
Quote:
|
All times are GMT -5. The time now is 06:00 PM. |