error while loading shared libraries: libssl.so.0

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
skent
Posts: 5
Joined: 8. Mar 2010, 18:13

error while loading shared libraries: libssl.so.0

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

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

Post 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
Image
Image
skent
Posts: 5
Joined: 8. Mar 2010, 18:13

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

Post 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!
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

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

Post 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.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

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

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

Actually, all 64bit packages are blacklisted in the 32bit slapt-get. Maybe we should also do the opposite.
Image
Image
skent
Posts: 5
Joined: 8. Mar 2010, 18:13

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

Post 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.
Post Reply