ports/52796: devel/apr is compiled without threads support

Peter Johnson freebsd at bilogic.org
Fri May 30 04:20:13 UTC 2003


The following reply was made to PR ports/52796; it has been noted by GNATS.

From: Peter Johnson <freebsd at bilogic.org>
To: FreeBSD-gnats-submit at 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
 
 



More information about the freebsd-ports-bugs mailing list