GNOME Bugzilla – Bug 63551
Problem compiling libxslt 1.0.6
Last modified: 2009-08-15 18:40:50 UTC
Hi, I try to compile libxslt 1.0.6 on my linux slackware 8 with gcc-3.0.1 there was no problem with the configure, but for the make i got this : root@pierre:/tmp/libxslt-1.0.6# gmake gmake all-recursive gmake[1]: Entering directory `/tmp/libxslt-1.0.6' Making all in libxslt gmake[2]: Entering directory `/tmp/libxslt-1.0.6/libxslt' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/tmp/libxslt-1.0.6/libxslt' Making all in libexslt gmake[2]: Entering directory `/tmp/libxslt-1.0.6/libexslt' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/tmp/libxslt-1.0.6/libexslt' Making all in xsltproc gmake[2]: Entering directory `/tmp/libxslt-1.0.6/xsltproc' /bin/sh ../libtool --mode=link gcc -g -O2 -o xsltproc xsltproc.o ../libxslt/libxslt.la ../libexslt/libexslt.la -L/usr/local/lib -lxml2 -lz -L/lib -liconv -lm -lm gcc -g -O2 -o .libs/xsltproc xsltproc.o ../libxslt/.libs/libxslt.so -lm ../libexslt/.libs/libexslt.so -lm -L/usr/local/lib /usr/local/lib/libxml2.so -L/lib -lm -lz /usr/local/lib/libiconv.so -lm -lm -Wl,--rpath -Wl,/usr/local/lib /usr/local/lib/libxml2.so: undefined reference to `pthread_getspecific' /usr/local/lib/libxml2.so: undefined reference to `pthread_key_create' /usr/local/lib/libxml2.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status gmake[2]: *** [xsltproc] Error 1 gmake[2]: Leaving directory `/tmp/libxslt-1.0.6/xsltproc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/libxslt-1.0.6' gmake: *** [all-recursive-am] Error 2 It would be great if you could help me with this ! Best regards, Pierre.
How did you ran configure ? Do not add --with-threads if you don't need them or if your platform don't support them, Daniel
I recompiled libxml2 without the --with-threads option in the configure and it compiles now without problem.