Print

Print


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Jie Liu,

libc is a very basic library and your Linux box is close to unusable
without it or with the wrong version. Your computer would probably not
boot anymore.
- From what you describe, though, it should be simple to fix the
problem. Find the correct version of libc (from another computer with
the same distribution and version, or the internet), boot into your
computer with a rescue CD like knoppix, the systemrescuecd, or even
the rescue mode of your distributions installation CD, and copy libc
back into place.

It may be helpful to have someone familiar with linux next to you,
e.g. in order to chroot to the disk's root partition and ldconfig the
reinstalled library.

Best,
Tim

On 09/18/2012 06:28 PM, jie liu wrote:
> Dear you all
> 
> I really need your help. I was trying to install ccp4i Package
> Manager, and got an error saying "/lib64/tls/libc.so.6 version
> 'GLIBC-2.4' not found".
> 
> The file '/lib64/tls/libc.so.6' was actually linked to
> 'libc-2.3.4.so'. I thought this one might be out of date. So I
> found a newer version of 'libc-2.5.so' on another linux machine and
> copied it here under the same directory '/lib64/tls'.
> 
> Then the stupid thing I did was as follows: mv  libc-2.3.4.so
> libc-2.3.4.so.old mv libc-2.5.so libc-2.3.4.so
> 
> Now I can't use any command. I can't ls, rm, mv, cp, pwd, and so
> on. I always got an error saying "relocation error:
> /lib64/tls/libc.so.6: symbol _dl_tls_get_addr_soft, version
> GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link
> time reference".
> 
> It looks like a serious problem. Did I damage the operating
> system? Could you please give some advice on how to fix it?
> 
> I am anxiously waiting for your help!
> 
> Best regards
> 
> Jie Liu
> 

- -- 
Dr Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen

GPG Key ID = A46BEE1A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFQWKf+UxlJ7aRr7hoRAp64AJ4vWBZgOsBLUCdfO7twyzaj0vSshgCbBuX+
obOxkkZM2bgq6PvY1kGrVKI=
=BXH3
-----END PGP SIGNATURE-----