Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost libc.so.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
svinot
n00b
n00b


Joined: 01 May 2010
Posts: 14

PostPosted: Sat May 01, 2010 12:48 pm    Post subject: Lost libc.so.6 Reply with quote

Well this is my day. I've seen that I've erased my /lib32/tls/libc.so.6

Because I've not emerge (yes it is really my day) I cannot use it to emerge it. How can I recompile it.

Thanks, Sebastien
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat May 01, 2010 12:58 pm    Post subject: Reply with quote

You're still installing, right? If so, just reboot into the install media, mount the drives, and unpack the stage3 tarball again. That'll solve both this and the emerge problem. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
svinot
n00b
n00b


Joined: 01 May 2010
Posts: 14

PostPosted: Sat May 01, 2010 1:34 pm    Post subject: Reply with quote

Unfortunately no, it is an existing server and more over it is a remote server then I cannot use any kind of CD
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat May 01, 2010 2:44 pm    Post subject: Reply with quote

On my system, libc.so.6 is a symlink to libc-2.10.1.so. Can you look to see if that still exists? If so, you can just re-establish the symlink.
Code:
cd /lib32/tls
ln -s libc-2.10.1.so libc.so.6
Or did you zap the whole directory? If you did, then you can get a compiled copy of the containing package (in this case, glibc) from the Gentoo Tinderbox and unpack it in your root directory (that means "/", not "/root"). Pay particular attention to your arch (amd64, right?).

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Sat May 01, 2010 2:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
svinot
n00b
n00b


Joined: 01 May 2010
Posts: 14

PostPosted: Sat May 01, 2010 2:53 pm    Post subject: Reply with quote

Code:
-rwxr-xr-x 1 root root   35543 mai  9  2006 libthread_db-1.0.so
-rwxr-xr-x 1 root root   33248 mai  9  2006 librt-2.3.6.so
-rwxr-xr-x 1 root root  113014 mai  9  2006 libpthread-2.3.6.so
-rwxr-xr-x 1 root root  153240 mai  9  2006 libm-2.3.6.so
-rwxr-xr-x 1 root root 1203576 mai  9  2006 libc-2.3.6.so
lrwxrwxrwx 1 root root      19 avr  6  2007 libthread_db.so.1 -> libthread_db-1.0.so
lrwxrwxrwx 1 root root      14 avr  6  2007 librt.so.1 -> librt-2.3.6.so
lrwxrwxrwx 1 root root      19 avr  6  2007 libpthread.so.0 -> libpthread-2.3.6.so
lrwxrwxrwx 1 root root      13 avr  6  2007 libm.so.6 -> libm-2.3.6.so
lrwxrwxrwx 1 root root      13 mai  1 16:56 libc.so.6 -> libc-2.3.6.so


I did a symlink with the 2.3.6 version (included and not deleted). But now I have the next error :

Code:
 /bin/sh:_/lib32/tls/libc.so.6:_version_`GLIBC_2.4'_not_found_(required_by_/bin/sh)/


I tried to emerge glibc but it does not work:

Code:
>>> Emerging (1 of 2) sys-apps/sandbox-1.6-r2 to /
[sandbox-1.6-r2] bash: /lib32/tls/libc.so.6: version `GLIBC_2.4' not found (required by [sandbox-1.6-r2] bash)


What can I do ?

Sebastien


Last edited by svinot on Sat May 01, 2010 2:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat May 01, 2010 2:56 pm    Post subject: Reply with quote

Please post listings in [code] tags as it makes 'em easier to read for everyone. Take a look at my previous post as I was elaborating as you were posting.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
svinot
n00b
n00b


Joined: 01 May 2010
Posts: 14

PostPosted: Sat May 01, 2010 3:18 pm    Post subject: Reply with quote

Thanks a lot, I've recovered almost what I lost.

Sebastien
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat May 01, 2010 5:08 pm    Post subject: Reply with quote

Awesome. :D

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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