Linux-Noob Forums

Full Version: libgcc_s.so.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

ubgraded centos and now its telling me :

 

libgcc_s.so.1 must be installed for pthread_cancel to work

 

 

[dave@games3 /]$ locate libgcc_s

warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old

/lib64/libgcc_s-3.4.6-20060404.so.1

/lib64/libgcc_s.so.1

/lib/libgcc_s.so.1

/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libgcc_s.so

/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libgcc_s_32.so

/usr/lib/gcc/x86_64-redhat-linux/3.4.3/libgcc_s.so

/usr/lib/gcc/x86_64-redhat-linux/3.4.3/libgcc_s_32.so

 

 

edit: im using centOS

 

any suggestions ?

no one ? :S
when you say you upgraded centos., what did you upgrade it from and to ?

Sounds like you have the wrong libgcc_s.so.1 in the /lib directory. It is possible that you have the 3.2.3 version of libgcc_s in the /lib and not the 3.4.3 version (if that makes sense). So the bug you are experiencing is actually due to the two versions of GCC. I can only imagine that they weren't installed properly in some way.

 

Try this:



Code:
# cp /lib/libgcc_s.so.1 /root/libgcc_s.so.1-backup
# cp /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libgcc_s.so /lib/libgcc_s.so
# ln -s /lib/libgcc_s.so /lib/libgcc_s.so.1




 

Not sure if that will work or not. It is possible that you should remove the GCC's altogether and start a fresh from Centos packages of GCC.

 

Good luck




Code:
# cp /lib/libgcc_s.so.1 /root/libgcc_s.so.1-backup
# cp /usr/lib/gcc/x86_64-redhat-linux/3.4.3/libgcc_s.so /lib/libgcc_s.so
# ln -s /lib/libgcc_s.so /lib/libgcc_s.so.1




 

i inserted these, how do i install it again ? (so that ill be sure that im installign the rightone )

 

tnx again.

 

tried updating centos :

 

[/url][url=http://img122.imageshack.us/img122/4084/untitledlx2.jpg]http://img122.imageshack.us/img122/4084/untitledlx2.jpg