Problem With pthread references in libxml2
Joe Marcus Clarke
marcus at marcuscom.com
Tue Mar 9 20:45:28 PST 2004
On Mon, 2004-03-01 at 09:57, Marvin E. Harris wrote:
> 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.
Rebuild libxml2 _without_ thread support. This is sort of an
unsupported option. It works for most of the GNOME cases, but will
causes non-threaded applications (like php) to break. Note: thread
support is not enabled by default.
Joe
>
> Gene
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040309/5d7f4ca8/attachment.bin
More information about the freebsd-gnome
mailing list