Ubuntu 10.04, have all the appropriate build packages, etc.

I encountered this error when compiling Siege
(http://www.joedog.org/index/siege-home).  I won't claim to understand
it, but it does work when I apply LuisMondesi's suggestion of explicitly
adding -lgcc_s wherever -lpthread is used.

The code DOES compile cleanly on other systems, so this is clearly an
Ubuntu (or Debian) bug.

I'm attaching a patch for Siege 2.70 for anyone else who is trying to
use Siege with ubuntu and encounters this error.  It applies itself to
the configure script and forces the makefiles to add -lgcc_s.  Running
./configure will generate functional Makefiles.

This clearly is not the best way to do it, and I hope the maintainers of
the appropriate packages (who exactly, I don't know) fix this problem
correctly.

** Patch added: "Fixes compile error with Siege 2.70"
   http://launchpadlibrarian.net/53120962/0001-Fixes-run-error.patch

** Also affects: gcc-4.4 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
libgcc_s.so.1 must be installed for pthread_cancel to work
https://bugs.launchpad.net/bugs/40285
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to