View previous topic :: View next topic |
Author |
Message |
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Mon Feb 19, 2007 6:04 pm Post subject: Problems emerging, can't open libssl.so.0.9.7 [solved] |
|
|
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?
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Mon Feb 19, 2007 6:21 pm Post subject: |
|
|
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 |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Mon Feb 19, 2007 6:24 pm Post subject: |
|
|
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 |
|
|
J3N7iL Apprentice
Joined: 24 Sep 2005 Posts: 169 Location: Chicago
|
Posted: Mon Feb 19, 2007 7:22 pm Post subject: |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Mon Feb 19, 2007 7:25 pm Post subject: |
|
|
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 |
|
|
maengden n00b
Joined: 19 Feb 2007 Posts: 3
|
Posted: Mon Feb 19, 2007 7:41 pm Post subject: |
|
|
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 |
|
|
klessou n00b
Joined: 02 Sep 2006 Posts: 40
|
Posted: Mon Feb 19, 2007 8:02 pm Post subject: |
|
|
Same mistake |
|
Back to top |
|
|
mlkjhqsdfg n00b
Joined: 19 Feb 2007 Posts: 1
|
Posted: Mon Feb 19, 2007 8:09 pm Post subject: |
|
|
I have the same error after (emerge openssl) |
|
Back to top |
|
|
maengden n00b
Joined: 19 Feb 2007 Posts: 3
|
Posted: Mon Feb 19, 2007 8:17 pm Post subject: |
|
|
I've got an ugly workaround that I wasn't even going bother posting 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 |
|
|
reokan n00b
Joined: 08 Sep 2006 Posts: 10
|
Posted: Mon Feb 19, 2007 10:12 pm Post subject: |
|
|
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 |
|
|
J3N7iL Apprentice
Joined: 24 Sep 2005 Posts: 169 Location: Chicago
|
Posted: Tue Feb 20, 2007 4:30 am Post subject: |
|
|
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 |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Tue Feb 20, 2007 6:00 am Post subject: |
|
|
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:
Still didn't get any further _________________ "May the source be with you!" |
|
Back to top |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Tue Feb 20, 2007 3:51 pm Post subject: |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Feb 20, 2007 6:19 pm Post subject: |
|
|
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 |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Tue Feb 20, 2007 9:01 pm Post subject: |
|
|
Well, I'm sorry to say that it didn't solve my problems. When I try to run revdep-rebuild I get this:
And an "emerge -u world" gives:
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 |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Wed Feb 21, 2007 6:07 am Post subject: |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Feb 21, 2007 1:42 pm Post subject: |
|
|
Post the output of Code: | # ls -al /usr/lib/libssl*
|
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
|
macawgumbo Apprentice
Joined: 28 May 2004 Posts: 165
|
Posted: Wed Feb 21, 2007 2:18 pm Post subject: |
|
|
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:
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:
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:
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 |
|
|
shampton n00b
Joined: 21 Dec 2006 Posts: 18
|
Posted: Wed Feb 21, 2007 2:37 pm Post subject: |
|
|
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 |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Wed Feb 21, 2007 3:50 pm Post subject: |
|
|
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 |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Feb 21, 2007 3:58 pm Post subject: |
|
|
and what is the error you are getting now when you _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
|
ops Apprentice
Joined: 25 May 2004 Posts: 153 Location: Norway
|
Posted: Wed Feb 21, 2007 8:39 pm Post subject: |
|
|
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 |
|
|
Alowishus n00b
Joined: 18 Apr 2002 Posts: 22
|
Posted: Wed Feb 21, 2007 9:18 pm Post subject: |
|
|
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 |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Thu Feb 22, 2007 9:29 pm Post subject: |
|
|
Should be fixed by now, see bug 167834. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
digitall2000 Apprentice
Joined: 21 Dec 2004 Posts: 267
|
Posted: Thu Feb 22, 2007 10:18 pm Post subject: |
|
|
shure there is it's called proper coding |
|
Back to top |
|
|
|