cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-441735 ] libtool broken on freebsd

From: <noreply_at_sourceforge.net>
Date: Mon, 16 Jul 2001 09:31:52 -0700

Bugs item #441735, was opened at 2001-07-16 09:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=441735&group_id=976

Category: libcurl
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: libtool broken on freebsd

Initial Comment:
If you build libcurl on FreeBSD (4.3-RELEASE, but
should behave the same on other versions), the shared
library libcurl.so will depend explicitly from libc.so.

This will cause problems if you intend to use libcurl
on multithreaded apps, which need to be linked against
libc_r.so. You'll end having an app that loads libc AND
libc_r, segfaulting soon or later.

This problem can be fixed juggling with libtool, which
passes a wrong -lc option to the linker when building
shared lib.

Maybe there is a fixed version of libtool, or you could
use the system libtool, I don't know.

Cheers,
  Sandro Tolaini

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=441735&group_id=976
Received on 2001-07-16