libgcc_s.a missing
Anders Karlsson
trudheim at gmail.com
Thu Dec 1 12:01:05 UTC 2005
Hi there,
I am trying to compile a static binary, and I keep getting an error:
user at host:~/src$ gcc-4.0 -g -W -Wall -Wl,-static -L/lib -L/usr/lib
-lcurl -lpthread curl_02.c
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
Same happens with gcc-3.4 if I try that. If I follow suggestions to
make libgcc_s.a a symlink to libgcc.a or libgcc_eh.a - I get
unresolved symbols in libcurl and libpthread.
Any ideas anyone?
--
Anders Karlsson <trudheim at gmail.com>
More information about the ubuntu-users
mailing list