PDA

View Full Version : libgcc_s.so.1 must be installed for pthread_cancel to work


Gremmie
16-02-2008, 20:26
This is what I get when I try to run the latest server:

$ ./server_linux
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

I am running on an AMD64 Fedora Core 6 box. Thanks.

Gremmie
20-02-2008, 05:39
I got this to work. Apparently I had the 64-bit version of that library, while the TS server wants the 32-bit one. I obtained the last 32-bit rpm for libgcc for Fedora 6 from rpm.pbone.net, then did:

rpm -ivh libgcc-4.1.2-13.fc6.i386.rpm

It installed the 32-bit version side-by-side next to my 64-bit version.

And now it is running. Hope this helps someone.

topete
19-03-2008, 14:46
you did it!. thank you very much Gremmie!.

that was i did in a debian amd64 server (you need ia32-libs package installed previously, more info here (https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html)):
quick way (admin rights needed): sudo apt-get install ia32-libs

1.- download the libgcc package for i386
http://packages.debian.org/etch/libgcc1

2.- extract the package in a temp directory, in my case:
dpkg -x libgcc1_4.1.1-21_i386.deb ./libgcctemp
3.- copy libgcc_s.so.1 in /lib32 (linked to /emul/ia32-linux/lib):
sudo cp ./libgcctemp/lib/libgcc_s.so.1 /lib32
4.- if *the force* is with you, you are done! ;) i hope so...