Problem With pthread references in libxml2

Marvin E. Harris internal at tetronsoftware.com
Mon Mar 1 06:57:17 PST 2004


I am having an issue with the libxml2 port, regarding loading of php4 in apache2.  I cvsup'ed last night (2/29/04) about 10 PM CST to make sure I had the latest port meta data.  I am running 4-STABLE, recompiled about one month ago.  I use the CFLAGS options -O -pipe which is fairly standard.
 
Basically, when I try to load mod_php4 in apache, I get an error that symbol "pthread_foo" where pthread_foo is one of the many pthread calls is not resolved for libxml2.  I have carefully recompiled and made sure that the pthread references are turned off in the make file.  However, the configure file still looks for pthreads.  I can manually run configure and have libxml2 compile without pthread support, but if I use the make file with no special defines, I always get the pthread support.
 
One other oddity.  I no longer get the options screen when compiling libxml2 port.  I tried several other ports that have OPTION settings and the options selection form opens properly, only the libxml2 port (to my knowledge) is not displaying the options screen.
 
After compiling libxml2 from ports using no special options, a quick check with the command ld libxml2.so.5 shows lots of pthread references.
 
Any ideas, other than doing a make configure and then manually executing configure? 
 
I apologize for writing you directly, but I wasn't able to find anything in "questions" that answered this problem.
 
Gene


More information about the freebsd-gnome mailing list