Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error while loading shared libraries: libcom_err.so.3
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Sun Jun 12, 2005 4:17 pm    Post subject: error while loading shared libraries: libcom_err.so.3 Reply with quote

Running unstable = ~x86
encountered this little glitch upon reboot this morning after latest -u world last night.

Code:

/etc/init.d/sshd start
 * Starting sshd ...
/usr/sbin/sshd: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory

Code:

 locate *libcom_err*
/lib/libcom_err.so
/lib/libcom_err.so.2
/lib/libcom_err.so.2.1
/usr/lib/libcom_err.so
/usr/lib/libcom_err.a
/usr/athena/lib/libcom_err.la
/usr/athena/lib/libcom_err.a

Code:

 emerge -s e2fsprogs
Searching...   
[ Results for search key : e2fsprogs ]
[ Applications found : 1 ]
 
*  sys-fs/e2fsprogs
      Latest version available: 1.37-r1
      Latest version installed: 1.37-r1


ugly hack:

Code:

 ln -s /lib/libcom_err.so /lib/libcom_err.so.3

Code:

 /etc/init.d/sshd start
 * Starting sshd ...                                                 [ ok ]


<shrugs>
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
SteveYin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2004
Posts: 91

PostPosted: Sun Jun 12, 2005 4:32 pm    Post subject: Reply with quote

you have to recompile mit-krb5, or try revdep-rebuild -p to see what you are missing.
_________________
Steve Yin
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Sun Jun 12, 2005 4:42 pm    Post subject: Reply with quote

SteveYin wrote:
you have to recompile mit-krb5, or try revdep-rebuild -p to see what you are missing.


ooooh, ok. I searched for the error first and didn't find anything. I did the revdep-rebuild thing and only a gnome system tools soemthing was missing (I uninstalled gnome a while back and I guess I have a few remnants). But cool, thanks for the info. I'll try that.

UPDATE: whoops, that didn't do it for me. I guess I'll go back to the symlink for now. thanks anyway tho.
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Jun 17, 2005 2:23 am    Post subject: Reply with quote

hi, i'm having the same problem and the truth is that revdep-rebuild has bug and didn't find the broken-dependacies. I have recompiled some of the programs, but on some occassions this doesn't help. For example I have two time recompiled subversion and it contniues to think it is linked to libcom_err.so.3. Probably it is a bug in the make file.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Fri Jun 17, 2005 3:12 am    Post subject: Reply with quote

Maybe just remerge openssh? Also, try the latest version of revdep-rebuild.
Code:
mkdir -p /etc/portage
echo app-portage/gentoolkit >> /etc/portage/package.unmask
echo "app-portage/gentoolkit ~*" >> /etc/portage/package.keywords
emerge gentoolkit

_________________
Zac
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Jun 17, 2005 2:27 pm    Post subject: Reply with quote

I use already the latest revdep-rebuild (the whole system is ~86) and I've rebuilded openssh, it works, but subversion is building against the missing library somehow::(( (probably I'll need to submit a bug report)
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Fri Jun 17, 2005 5:40 pm    Post subject: Reply with quote

Did you remerge sys-libs/com_err?
_________________
Zac
Back to top
View user's profile Send private message
Generation 2
n00b
n00b


Joined: 31 Dec 2004
Posts: 9

PostPosted: Sun Jun 19, 2005 12:14 pm    Post subject: Reply with quote

lovely little hack... worked wonderfully for me!!! how on earth did u think of that????
_________________
The penguin threw an apple and broke the window
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Sun Jun 19, 2005 5:27 pm    Post subject: Reply with quote

Just a wild guess ;-).
_________________
Zac
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sun Jun 19, 2005 9:36 pm    Post subject: Reply with quote

I thought the missing libraries are from kerberos, or they are only overwritten from mit-kerberos? I'll try it.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Mon Jun 20, 2005 5:35 am    Post subject: Reply with quote

zmedico wrote:
Did you remerge sys-libs/com_err?


well, poopers, I thought it was e2fsprogs that provided the libcom_err. dang, I'm redfaced now. :oops:
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue Jun 21, 2005 6:55 pm    Post subject: Reply with quote

It was true that com_err was in e2fsprogs, there were also bugs for overwritten duplicate files.
My problem with subversion was neon, but I had a hard try finding it (with revdep-rebuild functionality going to null in recent times, I've had to manually find the broken libraries::))
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Tue Jun 21, 2005 7:04 pm    Post subject: Reply with quote

Gergan Penkov wrote:
with revdep-rebuild functionality going to null in recent times, I've had to manually find the broken libraries

What version of revdep-rebuild is it? The one in the latest (masked) gentookit seems to work fine for me.
_________________
Zac
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue Jun 21, 2005 7:14 pm    Post subject: Reply with quote

Hi! It is the latest unstable, but not masked one:
Code:
equery l gentoolkit
[ Searching for package 'gentoolkit' in all categories among: ]
 * installed packages
[I--] [  ] app-portage/gentoolkit-dev-0.2.4 (0)
[I--] [  ] app-portage/gentoolkit-0.2.1_pre2 (0)

It has found nothing of interest except the standard opera brokeness ::))
I don't feel comfortably with masked portage-utilities with so much bugs in the last time, but I could give it a try, (or better write a script, it should not be so difficult to write in python::))).
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 352
Location: California USA

PostPosted: Tue Jun 21, 2005 7:19 pm    Post subject: Reply with quote

There are at least a few people on the gentoo-user ml (myself included) using gentoolkit-0.2.1_pre3 with no complaints. Besides, revdep-rebuild does not make any direct changes to your system (emerge does that).
_________________
Zac


Last edited by zmedico on Tue Jun 21, 2005 7:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Tue Jun 21, 2005 7:36 pm    Post subject: Reply with quote

Thank you, zmedico! It is running in the moment, but has already found a hell of a borked things.
I wonder, why a bug fix release like this is not in testing (~x86), instead of the borked which is now marked as ~x86.
Nonetheless, thank you for the hint.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jun 28, 2005 6:30 am    Post subject: Reply with quote

I have the same breakage here. revdep-rebuild found 2 broken dependencies, but I have *lots* of packages that don't work anymore. This is a major big fat annyoiance :/
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jun 28, 2005 7:05 am    Post subject: Reply with quote

Man, i *hate* this. Whoever did this should be ****!

Now, it seems libcom_err got downgraded somehow, or why are programs complaining about libcom_err.so.3 when all I have now is libcom_err.so.2? Or was there a versioning blooper?

So far I had to remerge openssh. After realizing smb browsing with nautilus no longer worked I tried gnome-vfs, only to find out that samba itself did no longer work :(

I guess this list will grow large.

:evil:



[edit: typo]
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 355
Location: Philadelphia, PA

PostPosted: Tue Jun 28, 2005 8:24 am    Post subject: Whoah Reply with quote

I'm doing a revdep-rebuild now, and hopefully it will work out ok. Incredible the amount of packages that depend on this library to work :(. I'm running stable, but I have a lot of packages that are in package.keywords ~x86. Mostly desktop stuffs, but openssh was a shocker.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Tue Jun 28, 2005 12:17 pm    Post subject: Reply with quote

Make sure you have these installed:
=sys-libs/com_err-1.37
=sys-libs/ss-1.37
=sys-fs/e2fsprogs-1.37-r1

Then run revdep-rebuild to fix the issues.
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jun 28, 2005 1:56 pm    Post subject: Reply with quote

nxsty wrote:
Make sure you have these installed:
=sys-libs/com_err-1.37
=sys-libs/ss-1.37
=sys-fs/e2fsprogs-1.37-r1

Then run revdep-rebuild to fix the issues.



I had. redvdep-rebuild wouldn't. Believe me. I tried.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Tue Jun 28, 2005 2:08 pm    Post subject: Reply with quote

i got the same problem here, man, this wrecked my whole system, and i just got a emerge world -uDv on my two production systems ....
arrrgh
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jun 28, 2005 2:14 pm    Post subject: Reply with quote

kitano wrote:
i got the same problem here, man, this wrecked my whole system, and i just got a emerge world -uDv on my two production systems ....
arrrgh


You can imagine how happy I am to have tried it on my workstations first before even applying to the test server. Not to mention the production servers :evil:
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Tue Jun 28, 2005 2:44 pm    Post subject: Reply with quote

well i did test-install it on my laptop, but didn't try it out hard enough.

i found out that it has definitely to do with kerbereos, but not all systems, which use the kerberos SUE-flag are affected. or not as severely affected as other systems.

my laptop did not like to revdep-rebuild, while the production system does currently without moaning.

i'll see if i find out more details.

kitano
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
Back to top
View user's profile Send private message
kitano
Apprentice
Apprentice


Joined: 19 Dec 2002
Posts: 228
Location: Munich, Germany, Europe, Earth

PostPosted: Tue Jun 28, 2005 2:45 pm    Post subject: Reply with quote

kitano wrote:
kerberos SUE-flag are affected


hehe, sigmund freud speaking ;-)
_________________
->searched for a gentoo penguin ->alienated it with "find edges", "saturation", "photocopy" ->encoded quicktime from still ->played with aaxine ->screenshotted ->made it my avatar

only in case you were going to ask what it is...
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, 3, 4  Next
Page 1 of 4

 
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