After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 63551 - Problem compiling libxslt 1.0.6
Problem compiling libxslt 1.0.6
Status: VERIFIED INCOMPLETE
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-11-01 16:15 UTC by Pierre
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre 2001-11-01 16:15:51 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.
Comment 1 Daniel Veillard 2001-11-01 16:30:18 UTC
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
Comment 2 Pierre 2001-11-11 22:39:08 UTC
I recompiled libxml2 without the --with-threads option in the
configure and it compiles now without problem.