Page 1 of 1

error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 18:29
by skent
After I set up a local slackware repository with dependency support, and installed all of set x (on top of core), I did:

slapt-get -u
slapt-get --upgrade

just a few packages were upgraded, including openssl

Now I can't do anything with slapt-get. Any command gives:

slapt-get: Error whil loading shared libraries: libssl.so.0 cannot open shared object file: No such file or directory.

Was I not supposed to do a slapt-get --upgrade?

Also, is there a way to repair the damage?

thanks.

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 18:36
by gapan
Did you setup the slackware repository following the guide in the wiki? Any other repositories you have in your slapt-getrc?

What openssl package do you have installed now? And what slapt-get package?

Try:

Code: Select all

cd /lib (or /lib64 if on 64bits)
ln -sf libssl.so.0.9.8 libssl.so.0

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 19:17
by skent
I think I see what I did wrong. I used a salix64 disk, which worked fine, (I have a phenom II). But then when I followed the wiki article about setting up the local repo for deps, I put in a regular slackware mirror instead of a slackware64 mirror. Now I have both /lib and /lib64. I'll create some links as you suggested, fix my slapt-getrc and see if I can get it going again. Thanks for the reply. I am impressed so far with Salix!

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 19:22
by gapan
Ouch! That's bad. You replaced your 64bit packages with 32bit packages, which certainly won't work. It's not going to be fixed with symlinks. You need to replace all i486 and i686 packages with the corresponding x86_64 ones.

Code: Select all

ls /var/log/packages/*i486*
ls /var/log/packages/*i686*
will give you a list.

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 19:28
by thenktor
Haha, I've managed to do the same on one of my 32 bit machines :mrgreen: I've thought about a feature request for slapt-get or spkg to take care of this.

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 19:34
by gapan
Actually, all 64bit packages are blacklisted in the 32bit slapt-get. Maybe we should also do the opposite.

Re: error while loading shared libraries: libssl.so.0

Posted: 8. Mar 2010, 19:51
by skent
Yeah I'm starting over. I see I had the wrong adddepinfo.sh too. Maybe it would be a good idea to mention in the wiki that there is also an adddepinfo.sh in:

http://salix.enialis.net/x86_64/slackware-13.0/

for slow people like me! I was just hell-bent on following the protocol.