ports/85982: PHP fails to build when libxml2 is build using WITH_THREADS=yes.
"Adam Gregoire" <Adam Gregoire
ebola at psychoholics.org
Sun Sep 11 18:30:07 UTC 2005
>Number: 85982
>Category: ports
>Synopsis: PHP fails to build when libxml2 is build using WITH_THREADS=yes.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 11 18:30:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Adam Gregoire
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD 7.0-CURRENT #16: Sun Sep 11 04:48:02 EDT 2005
root at S0106c0ffeec0ffee:/usr/obj/usr/src/sys/OPTMZD
>Description:
When WITH_THREADS is defined in /etc/make.conf and libxml2 is built threaed, php build fails.
Following is a snippit from php5-cgi's config.log
configure:18440: checking whether to enable LIBXML support
configure:18487: checking libxml2 install dir
configure:18647: checking whether libxml build works
configure:18674: cc -o conftest -O2 -pipe -march=athlon64 -R/usr/local/lib -L/usr/local/lib conftest.c
-lm -lxml2 -lz -liconv -lm 1>&5
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
configure: failed program was:
#line 18663 "configure"
#include "confdefs.h"
char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}
>How-To-Repeat:
Define WITH_THREADS=yes in make.conf,
recompile libxml2,
try to compile php.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list