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

If you get the following error/warning on any apps suddenly:

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

Then is is normally due to an upgrade caused by some distro's having a conflict with the library paths.

You will need to find the "libgcc_s.so.1" (you might be using a different version) and add it's path to LD_LIBRARY_PATH environment variable. As follows:

locate libgcc_s
/usr/lib/libgcc_s.so.1

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

You will need to put this in the startup script to make this change permenant.

Last updated: 11/07/2005