Linux-Noob Forums
libgcc_s.so.1 - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: libgcc_s.so.1 (/thread-1367.html)



libgcc_s.so.1 - dejv - 2007-05-28


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 ?




libgcc_s.so.1 - dejv - 2007-06-03

no one ? :S



libgcc_s.so.1 - anyweb - 2007-06-03

when you say you upgraded centos., what did you upgrade it from and to ?



libgcc_s.so.1 - znx - 2007-06-03


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




libgcc_s.so.1 - dejv - 2007-06-03




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