Date: Thu, 29 May 2003 21:20:12 -0700 (PDT) From: Peter Johnson <freebsd@bilogic.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/52796: devel/apr is compiled without threads support Message-ID: <200305300420.h4U4KCnc091534@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/52796; it has been noted by GNATS. From: Peter Johnson <freebsd@bilogic.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/52796: devel/apr is compiled without threads support Date: Fri, 30 May 2003 00:14:36 -0400 (EDT) In addition to adding --enable-threads to configure, the installed apr-config script needs to be patched to remove -lc_r from LIBS and add -pthread to LDFLAGS. If this is not done, linking of Subversion (and probably others) fail because -lc_r is ignored by libtool and -pthread is not specified, so libc is linked instead of libc_r (generating many undefined pthread_* symbol errors). -- Peter Johnson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305300420.h4U4KCnc091534>