libxml2 problems

Ilya mail at krel.org
Mon Apr 28 04:32:15 PDT 2003


Hi. I have several ports failing because of very similar errors in libxml2. Ive
rebuild libxml several times with different options, but no help.
anyone seen it before?

/usr/ports/textproc/wv
configure:2761: cc -o conftest -O -pipe   -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include  -L/usr/local/lib
-lwmf -lwmflite -lfreetype -L/usr/X11R6/lib -lSM -lICE -lX11 -lxml2 -lz -liconv
-lm -ljpeg -lpng -lz -lm conftest.c -lwmf -L/usr/local/lib -lwmf -lwmflite
-lfreetype -L/usr/X11R6/lib -lSM -lICE -lX11 -lxml2 -lz -liconv -lm -ljpeg -lpng
-lz -lm  1>&5
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
/usr/local/lib/libxml2.so: undefined reference to `pthread_once'
configure: failed program was:
#line 2750 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char wmf_stream_create();

int main() {
wmf_stream_create()
; return 0; }



/usr/ports/www/mod_php4
configure:33845: gcc -o conftest -g -O2  -DHARD_SERVER_LIMIT=512
-DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH="/u
sr/local/bin:/bin:/usr/bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208114
-DEAPI -DEAPI_MM -DUSE_EXPAT
          -L/usr/local/lib
          -R/usr/local/lib -L/usr/local/lib conftest.c -liconv  -lz -lsasl2
-lcyrus -lcurl -lcrack -lbz2 -lz -lcrypt -lssl -lc
rypto -lm  -lcrypt -lcurl -lz -lssl -lcrypto -lz -lxml2 -lz -liconv -lm 1>&5
/usr/local/lib/libxml2.so: undefined reference to `pthread_cond_signal'
/usr/local/lib/libxml2.so: undefined reference to `pthread_getspecific'
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
/usr/local/lib/libxml2.so: undefined reference to `pthread_once'
/usr/local/lib/libxml2.so: undefined reference to `pthread_key_create'
/usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_unlock'
/usr/local/lib/libxml2.so: undefined reference to `pthread_self'
/usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_destroy'
/usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_lock'
/usr/local/lib/libxml2.so: undefined reference to `pthread_cond_wait'
/usr/local/lib/libxml2.so: undefined reference to `pthread_mutex_init'
/usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific'
configure: failed program was:
#line 33834 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char iconv();

int main() {
iconv()
; return 0; }



More information about the freebsd-questions mailing list