View previous topic :: View next topic |
Author |
Message |
svinot n00b
Joined: 01 May 2010 Posts: 14
|
Posted: Sat May 01, 2010 12:48 pm Post subject: Lost libc.so.6 |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat May 01, 2010 12:58 pm Post subject: |
|
|
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.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
svinot n00b
Joined: 01 May 2010 Posts: 14
|
Posted: Sat May 01, 2010 1:34 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat May 01, 2010 2:44 pm Post subject: |
|
|
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 |
|
|
svinot n00b
Joined: 01 May 2010 Posts: 14
|
Posted: Sat May 01, 2010 2:53 pm Post subject: |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat May 01, 2010 2:56 pm Post subject: |
|
|
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 |
|
|
svinot n00b
Joined: 01 May 2010 Posts: 14
|
Posted: Sat May 01, 2010 3:18 pm Post subject: |
|
|
Thanks a lot, I've recovered almost what I lost.
Sebastien |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat May 01, 2010 5:08 pm Post subject: |
|
|
Awesome.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|