Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems emerging, can't open libssl.so.0.9.7 [solved]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Mon Feb 19, 2007 6:04 pm    Post subject: Problems emerging, can't open libssl.so.0.9.7 [solved] Reply with quote

Somehow portage won't work. Just synced and was supposed to update world. It gives an error with libssl.so.0.9.7.

Have anyone else experienced this? Anyone know the solution?

Quote:

Calculating world dependencies... done!
>>> Emerging (1 of 50) sys-devel/gnuconfig-20060702 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/gnuconfig-20060702.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gnuconfig-20060702.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gnuconfig-20060702.tar.bz2


Same problem with libssl.so.0.9.7 is repeated over and over again.

Thanks!
_________________
"May the source be with you!"


Last edited by ops on Wed Feb 21, 2007 8:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Mon Feb 19, 2007 6:21 pm    Post subject: Reply with quote

when you emerged openssl it told you to run revdep-rebuild on the openssl libs and then you could remove them..
simply running revdep-rebuild will probably solve your problem
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Mon Feb 19, 2007 6:24 pm    Post subject: Reply with quote

Well, I ran revdep-rebuild (should probably have mentioned that.. sorry).

I get this error:
Quote:
Calculating dependencies -
emerge: there are no ebuilds to satisfy "=net-nds/openldap-2.3.24-r1".


Don't know why I forgot to mention this...
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Mon Feb 19, 2007 7:22 pm    Post subject: Reply with quote

i just got the same error

Code:
localhost ~ # emerge --update portage
Calculating dependencies... done!

>>> Emerging (1 of 11) sys-devel/gnuconfig-20060702 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://gentoo.oregonstate.edu/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://mirrors.tds.net/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://gentoo.mirrors.pair.com/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://ftp.gentoo.or.kr/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://lug.mtu.edu/gentoo/source/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'http://cudlug.cudenver.edu/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading 'ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/gnuconfig-20060702.tar.bz2'
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
!!! Couldn't download 'gnuconfig-20060702.tar.bz2'. Aborting.

_________________
For Sale: Parachute. Only used once, never opened, small stain.
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Mon Feb 19, 2007 7:25 pm    Post subject: Reply with quote

Code:
emerge -C openldap && emerge openldap

=net-nds/openldap-2.3.24-r1 is not in portage anymore
Available versions: 2.1.30-r10 2.2.28-r7 2.3.30-r2 ~2.3.33
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
maengden
n00b
n00b


Joined: 19 Feb 2007
Posts: 3

PostPosted: Mon Feb 19, 2007 7:41 pm    Post subject: Reply with quote

Ah, what a tangled web!

I got caught by this too, but both ssh and wget are broken, so I can't access the web in the usual way.

I'm fairly new to gentoo - can anyone help me find a way to run emerge online without touching that ssl lib?

My fallback is to find a way to get the ssh and wget tarballs into /usr/portage/distfiles manually, but I'm on a vmware container and haven't found an easy way to do that yet short of opening up ftp :-(
Back to top
View user's profile Send private message
klessou
n00b
n00b


Joined: 02 Sep 2006
Posts: 40

PostPosted: Mon Feb 19, 2007 8:02 pm    Post subject: Reply with quote

Same mistake :-(
Back to top
View user's profile Send private message
mlkjhqsdfg
n00b
n00b


Joined: 19 Feb 2007
Posts: 1

PostPosted: Mon Feb 19, 2007 8:09 pm    Post subject: Reply with quote

I have the same error after (emerge openssl)
Back to top
View user's profile Send private message
maengden
n00b
n00b


Joined: 19 Feb 2007
Posts: 3

PostPosted: Mon Feb 19, 2007 8:17 pm    Post subject: Reply with quote

I've got an ugly workaround that I wasn't even going bother posting :oops: I'm sure I'm going to give a shiver to the more experienced out there, but I'm otherwise dead in the water...

To run wget, the lib needs to exist, but "normal" emerge-based wget's never actually use it directly. So creating a symlink'ed libss.so.0.9.7 pointing to 0.9.8 allows wget to continue. I did

Code:
emerge --oneshot =net-misc/wget-1.10.2


to get back in business, then deleted the hack symlink.
Back to top
View user's profile Send private message
reokan
n00b
n00b


Joined: 08 Sep 2006
Posts: 10

PostPosted: Mon Feb 19, 2007 10:12 pm    Post subject: Reply with quote

First of all i am a noob, so my advice is worth what it's worth, here goes...

Code:
ln /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7


emerge should be up and running, i know mine is.
Althought i am not sure if this is the right procedure.
Back to top
View user's profile Send private message
J3N7iL
Apprentice
Apprentice


Joined: 24 Sep 2005
Posts: 169
Location: Chicago

PostPosted: Tue Feb 20, 2007 4:30 am    Post subject: Reply with quote

Something is very very different since the last time i did a --sync

I have no clue what so I cant even open an intelligent bug report.
All I know is that all 3 of my Gentoo puters are hosed and I cant get squat done at work, I'm on a deadline and may have to blow away the Gentoo and install something Like fedora.

I shudder at the though of Fedora. :(
Im crying on the inside.
_________________
For Sale: Parachute. Only used once, never opened, small stain.
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Tue Feb 20, 2007 6:00 am    Post subject: Reply with quote

Fixed it by running :

Quote:

emerge -C openldap
emerge openldap
emerge openssl
revdep-rebuild --library libcryto.so.0.9.7
revdep-rebuild --library libsso.so.0.9.7 (This one took some time!)


After building some packages on the last one, it all came down to this:

Quote:

>>> Emerging (16 of 42) dev-lang/python-2.4.3-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: li>>> Emerging (16 of 42) dev-lang/python-2.4.3-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
!!! Couldn't download Python-2.4.3.tar.bz2. Aborting.
bssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
!!! Couldn't download Python-2.4.3.tar.bz2. Aborting.


Still didn't get any further
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Tue Feb 20, 2007 3:51 pm    Post subject: Reply with quote

Is anyone finding any solution to this? I really need to get it up and working.
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Tue Feb 20, 2007 6:19 pm    Post subject: Reply with quote

The solution to that has already been posted in this thread.....
create a link to the existing libssl
Code:
ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7

_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Tue Feb 20, 2007 9:01 pm    Post subject: Reply with quote

Well, I'm sorry to say that it didn't solve my problems. When I try to run revdep-rebuild I get this:

Quote:
...
Calculating dependencies... done!
>>> Emerging (1 of 27) dev-lang/python-2.4.3-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/python-gentoo-patches-2.4.3-r1.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/python-gentoo-patches-2.4.3-r1.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
...


And an "emerge -u world" gives:

Quote:
Calculating world dependencies... done!
>>> Emerging (1 of 49) sys-devel/gnuconfig-20060702 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/gnuconfig-20060702.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gnuconfig-20060702.tar.bz2
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory
...


I have run "ln -s /usr/lib/libssl.0.9.8 /usr/lib/libssl.so.0.9.7", and I've checked that the link is there. I find this very strange.
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Wed Feb 21, 2007 6:07 am    Post subject: Reply with quote

Why won't the symlink work on my computer? Is there something I have forgotten to do afterwards?
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Wed Feb 21, 2007 1:42 pm    Post subject: Reply with quote

Post the output of
Code:
# ls -al /usr/lib/libssl*

_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
macawgumbo
Apprentice
Apprentice


Joined: 28 May 2004
Posts: 165

PostPosted: Wed Feb 21, 2007 2:18 pm    Post subject: Reply with quote

Starting off with a new build, I was surprised to see this problem. Luckily, I was in a chrooted environment in another working distro (Sabayon Linux). What worked for me was creating the symlink:

Code:
ln -s /usr/lib/libssl.so.0.9.8 /usr/lib/libssl.so.0.9.7


This will get wget working and theoretically Portage. Now do this:

Code:
emerge wget


That will reemerge wget and make it work w/o the symlink. Then remove the symlink:

Code:
rm /usr/lib/libssl.so.0.9.7


Now run:

Code:
revdep-rebuild -X


This will rebuild all broken libraries and links by using the package name and not the version (which updates the packages if there is an update available). Removing the symlink just makes it so there aren't any hand made symlinks floating around that won't get removed if something is updated. If you have a GUI and are still having problems, download the files required for wget manually. You can view these files with:

Code:
emerge -pf wget


Pay attention to the separation of paragraphs because each paragraph contains all the sources for which that single file can be pulled from. If using the console, pipe it through more or less like so:

Code:
emerge -pf wget | less


Hope that helps.
Back to top
View user's profile Send private message
shampton
n00b
n00b


Joined: 21 Dec 2006
Posts: 18

PostPosted: Wed Feb 21, 2007 2:37 pm    Post subject: Reply with quote

Thanks for the link tip. I was able to reinstall wget to the latest version. Then I removed the link and all of the /root/.revdep* files. I tried the original suggestion for running revdep-rebuild, but then it complained about openssh. So, I emerged the newest openssh and tried the rebuild again and it appears to be working. What a pain in my buttox. :)
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Wed Feb 21, 2007 3:50 pm    Post subject: Reply with quote

Output from ls -al /usr/lib/libssl*:
Quote:
-rw-r--r-- 1 root root 397010 Feb 21 07:05 /usr/lib/libssl.a
lrwxrwxrwx 1 root root 15 Feb 21 07:05 /usr/lib/libssl.so -> libssl.so.0.9.8
lrwxrwxrwx 1 root root 24 Feb 21 16:48 /usr/lib/libssl.so.0.9.7 -> /usr/lib/libssl.so.0.9.8
-r-xr-xr-x 1 root root 250176 Feb 21 07:05 /usr/lib/libssl.so.0.9.8

_________________
"May the source be with you!"
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Wed Feb 21, 2007 3:58 pm    Post subject: Reply with quote

and what is the error you are getting now when you
Code:
emerge wget

_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
ops
Apprentice
Apprentice


Joined: 25 May 2004
Posts: 153
Location: Norway

PostPosted: Wed Feb 21, 2007 8:39 pm    Post subject: Reply with quote

Ah, I got it working now. Fixed it with a
Quote:
ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7


Then emerged wget and so on...

Thanks a lot folks!
_________________
"May the source be with you!"
Back to top
View user's profile Send private message
Alowishus
n00b
n00b


Joined: 18 Apr 2002
Posts: 22

PostPosted: Wed Feb 21, 2007 9:18 pm    Post subject: Reply with quote

Just wanted to chime in and say that I ran into this problem when following the instructions from the Gentoo Handbook to update USE flags. In the process of running
Code:
emerge --update --deep --newuse world

SSL was updated, and surely the warning about revdep-rebuild flew by, but it didn't do much good since Portage just went ahead with the remainder of the packages it had decided to update. Of course that failed because wget was disabled. I had no opportunity to intervene and was left with a disabled system.

Not sure if there's anything that can be done to protect the system from self-breakage like that...
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Thu Feb 22, 2007 9:29 pm    Post subject: Reply with quote

Should be fixed by now, see bug 167834.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
digitall2000
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 267

PostPosted: Thu Feb 22, 2007 10:18 pm    Post subject: Reply with quote

shure there is it's called proper coding
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum