Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tar, cp and other softwares are reporting problems with libs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
AngusYoung
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 473
Location: Czech Republic

PostPosted: Sat Feb 22, 2003 11:50 pm    Post subject: Tar, cp and other softwares are reporting problems with libs Reply with quote

Friends, I'm having some problems with my system. tar, cp and some other softwares seems to be broken. Due to this error I can't emerge anything.
I appears to me that is some problem related to libs.

Here's what I get when try to run tar:

Obs.: I moved /bin/tar to /bin/tar-old and copied tar from other computer.

Code:

root@phobos otavio # /bin/tar-old
/bin/tar-old: /lib/librt.so.1: version `Kimball and Peter Mattis
 *
 * This program is free software; you can redistribute it a' not found (required by /bin/tar-old)
/bin/tar-old: /lib/libc.so.6: version `d Peter Mattis
 *
 * This program is free software; you can redistribute it a' not found (required by /bin/tar-old)
/bin/tar-old: /lib/libc.so.6: version `ttis
 *
 * This program is free software; you can redistribute it a' not found (required by /bin/tar-old)
/bin/tar-old: /lib/libc.so.6: version `Kimball and Peter Mattis
 *
 * This program is free software; you can redistribute it a' not found (required by /bin/tar-old)
/bin/tar-old: /lib/libc.so.6: version `his program is free software; you can redistribute it a' not found (required by /bin/tar-old)
/bin/tar-old: /lib/libc.so.6: version `m is free software; you can redistribute
it a' not found (required by /bin/tar-old)


Here's what I get when try to run cp.

Obs.: I moved /bin/cp to /bin/cp-old and copied cp from other computer.

Code:

root@phobos otavio # /bin/cp-old
/bin/cp-old: /lib/libc.so.6: version `D
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&</TD
></TR
><TR
><TD
WID' not found (required by /bin/cp-old)
/bin/cp-old: /lib/libc.so.6: version `0%"
ALIGN="LEFT"
VALIGN="TOP"
>&</TD
></TR
><TR
><TD
WID' not found (required by /bin/cp-old)
/bin/cp-old: /lib/libc.so.6: version `EFT"
VALIGN="TOP"
>&</TD
></TR
><TR
><TD
WID' not found (required by /bin/cp-old)
/bin/cp-old: /lib/libc.so.6: version `N="TOP"
>&</TD
></TR
><TR
><TD
WID' not found (required by /bin/cp-old)
/bin/cp-old: /lib/libc.so.6: version `nbsp;</TD
></TR
><TR
><TD
WID' not found (required by /bin/cp-old)


And, finally, here is what I get when try to emerge something (Yes, it appears to be some kind of strange caracters ... ):

Code:

checking version of bison... 1.35, ok
checking for catalogs to be installed...  cs da de es et fr id it ja ko nl no pl pt pt_BR ru sl sv tr
configure: creating ./config.status
uniq: /lib/libc.so.6: version `. 6+ «AgyK偻%)-?Û³Ã9à–xyÐ  “Ô>ÍêÖßeR×¢Q´@⎽
EA◆*1E’H¤' ┼⎺├ °⎺┤┼␍ (⎼␊─┤␋⎼␊␍ ␉≤ ┤┼␋─)
│├␊⎼└┤┼␋─: /┌␋␉/┌␋␉␌.⎽⎺.6: ┴␊⎼⎽␋⎺┼ ◆±≤K偻%)-?Û³Ã9à–│≤Р      “Ô>ÍêÖßeR×¢Q´@⎽
EA◆*1E’H¤' ┼⎺├ °⎺┤┼␍ (⎼␊─┤␋⎼␊␍ ␉≤ ┤┼␋─)
┤┼␋─: /┌␋␉/┌␋␉␌.⎽⎺.6: ┴␊⎼⎽␋⎺┼ ◆Û³Ã9à–│≤Р      “Ô>ÍêÖßeR×¢Q´@⎽
EA◆*1E’H¤' ┼⎺├ °⎺┤┼␍ (⎼␊─┤␋⎼␊␍ ␉≤ ┤┼␋─)
┤┼␋─: /┌␋␉/┌␋␉␌.⎽⎺.6: ┴␊⎼⎽␋⎺┼ ◆         “Ô>ÍêÖßeR×¢Q´@⎽
EA◆*1E’H¤' ┼⎺├ °⎺┤┼␍ (⎼␊─┤␋⎼␊␍ ␉≤ ┤┼␋─)


I never faced this problem before, and any tip and information you can provide me will be very useful (I am really not interested in reinstalling Gentoo).

Maybe it can be useful for you this information:
Computer = Pentium 3 866 Coppermine, 192Mb RAM
Kernel = vanilla sources 2.4.20
Glibc = 2.3.1
Prelink = 20021002-r1
Gcc = 3.2.1
Binutils = 2.13.90.0.16-r1
_________________
My blog
Twitter
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Sun Feb 23, 2003 4:15 am    Post subject: Reply with quote

Those files are owned by glibc. So I thing that the problem occured after an upgrade, can you confirm that?

The problem may also affect emerge, but nevertheless try to download the following package:
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/releases/1.4_rc2/x86/gcc/i686/glibc-2.3.1-r2.tbz2 and emerge -K glibc-2.3.1-r2.tbz2

Good luck,
Ricardo Cordeiro :)
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
AngusYoung
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 473
Location: Czech Republic

PostPosted: Sun Feb 23, 2003 12:15 pm    Post subject: Reply with quote

I didn't upgraded anything. The only thing I instaled was prelink ... Anyway, I'll try to do what you sugested me.

Thanks for the advice.
_________________
My blog
Twitter
Back to top
View user's profile Send private message
AngusYoung
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 473
Location: Czech Republic

PostPosted: Sun Feb 23, 2003 8:23 pm    Post subject: Reply with quote

I emerged glibc as you said, PT_LAmb, but I still can't compile anything ...
I'm wondering not to shutdown this workstation ... I'm afraid it won't boot anymore ... :cry:

BTW, if anybody has any more sugestions to me, I'll be very glad to know.

http://www.aydown.hpg.com.br/dados/tmp/erro1.jpg
http://www.aydown.hpg.com.br/dados/tmp/erro2.jpg

Two screenshots of the annoying "codes" ...
_________________
My blog
Twitter
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Sun Feb 23, 2003 9:30 pm    Post subject: Reply with quote

AngusYoung wrote:
I'm wondering not to shutdown this workstation ... I'm afraid it won't boot anymore ... :cry:

I agree with you.

And sorry, but I don't really know how prelink works, but my I suggest that you try and prelink binutils again? Or can you undo the pre-linkage?

Good luck,
Ricardo Cordeiro :)
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
AngusYoung
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 473
Location: Czech Republic

PostPosted: Sun Feb 23, 2003 10:50 pm    Post subject: Reply with quote

Well, I undo the pre-linkage and that didn't helped me. I gave up trying to figure out how to solve this problem.

Considering that other files may be corrupted too I think that it is better for me to reinstall Gentoo. :?
_________________
My blog
Twitter
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Sun Feb 23, 2003 11:19 pm    Post subject: Reply with quote

Ok, then don't forget to backup /etc and your world package's list file (/var/cache/edb/world) so you can restore your software with a single emerge world.

Good luck,
Ricardo Cordeiro :)
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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