Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2004 03:35:50 +0400
From:      Roman J Mashirov <mrj@mrj.spb.ru>
To:        gnome@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   FreeBSD Port: libxml2-2.6.9
Message-ID:  <4096D756.5080701@mrj.spb.ru>

next in thread | raw e-mail | index | archive | help
Hi!

Seems there is a compartibility problem with libxml2-2.6.9 and 
p5-XML-LibXML-Common-0.13 
<http://www.freebsd.org/cgi/ports.cgi?query=%5Ep5-XML-LibXML-Common-0.13&stype=name>; 
which is needed for p5-XML-LibXML-1.58 (perl library for libxml). 
LibXML-Common port steel depends on libxml2.5, and reports following 
things while is compiled with 2.6.9

main thing here seems:
Unrecognized argument in LIBS ignored: '-pthread',

which leads to
Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: 
/usr/local/lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at 
/usr/local/lib/perl5/5.6.1/mach/DynaLoader.pm line 206.

Can you point, at least, in which direction should i look to fix it 
(well i really can fix it by just installing 2.5.4 version of libxslt 
but...)

Complete output follows:

$perl Makefile.PL DEBUG=1
enable native perl UTF8
running xml2-config... xml2-config --version
xml2-config --libs
xml2-config --cflags
ok
looking for -lxml2... perl Makefile.PL 'INC=-I/usr/local/include/libxml2 -I/usr/
local/include' 'DEFINE= -DHAVE_UTF8' 'LIBS=-L/usr/local/lib -lxml2 -lz -pthread
-L/usr/local/lib -liconv -lm'
INC = -I/usr/local/include/libxml2 -I/usr/local/include
DEFINE =  -DHAVE_UTF8
LIBS = -L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for Conftest
make test 'OTHERLDFLAGS='
cp Conftest.pm blib/lib/Conftest.pm
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSD
PAN /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.
6.1/ExtUtils/typemap Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c
cc -c -I/usr/local/include/libxml2 -I/usr/local/include -DAPPLLIB_EXP="/usr/loca
l/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -O -pipe
-DVERSION=\"1\"  -DXS_VERSION=\"1\" -DPIC -fPIC -I/usr/local/lib/perl5/5.6.1/mac
h/CORE -DHAVE_UTF8 Conftest.c
Running Mkbootstrap for Conftest ()
chmod 644 Conftest.bs
rm -f blib/arch/auto/Conftest/Conftest.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc  -shared  -L/usr/local/lib Conftest.o
-o blib/arch/auto/Conftest/Conftest.so   -L/usr/local/lib -lxml2 -lz -L/usr/loca
l/lib -liconv -lm
chmod 755 blib/arch/auto/Conftest/Conftest.so
cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs
chmod 644 blib/arch/auto/Conftest/Conftest.bs
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.
6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN test.pl
1..1
Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: /usr/local
/lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at /usr/local/lib/perl
5/5.6.1/mach/DynaLoader.pm line 206.
 at test.pl line 2
Compilation failed in require at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.
*** Error code 255

Stop in /usr/ports/textproc/p5-XML-LibXML-Common/work/XML-LibXML-Common-0.13/.te
stlink.
system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 168.
no
looking for -llibxml2... perl Makefile.PL 'INC=-I/usr/local/include/libxml2 -I/u
sr/local/include' 'DEFINE= -DHAVE_UTF8' 'LIBS=-L/usr/local/lib -lxml2 -lz -pthre
ad -L/usr/local/lib -liconv -lm'
INC = -I/usr/local/include/libxml2 -I/usr/local/include
DEFINE =  -DHAVE_UTF8
LIBS = -L/usr/local/lib -lxml2 -lz -pthread -L/usr/local/lib -liconv -lm
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for Conftest
make test 'OTHERLDFLAGS='
cp Conftest.pm blib/lib/Conftest.pm
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSD
PAN /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.
6.1/ExtUtils/typemap Conftest.xs > Conftest.xsc && mv Conftest.xsc Conftest.c
cc -c -I/usr/local/include/libxml2 -I/usr/local/include -DAPPLLIB_EXP="/usr/loca
l/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -O -pipe
-DVERSION=\"1\"  -DXS_VERSION=\"1\" -DPIC -fPIC -I/usr/local/lib/perl5/5.6.1/mac
h/CORE -DHAVE_UTF8 Conftest.c
Running Mkbootstrap for Conftest ()
chmod 644 Conftest.bs
rm -f blib/arch/auto/Conftest/Conftest.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc  -shared  -L/usr/local/lib Conftest.o
-o blib/arch/auto/Conftest/Conftest.so   -L/usr/local/lib -lxml2 -lz -L/usr/loca
l/lib -liconv -lm
chmod 755 blib/arch/auto/Conftest/Conftest.so
cp Conftest.bs blib/arch/auto/Conftest/Conftest.bs
chmod 644 blib/arch/auto/Conftest/Conftest.bs
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.
6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN test.pl
1..1
Can't load 'blib/arch/auto/Conftest/Conftest.so' for module Conftest: /usr/local
/lib/libxml2.so.5: Undefined symbol "pthread_cond_signal" at /usr/local/lib/perl
5/5.6.1/mach/DynaLoader.pm line 206.
 at test.pl line 2
Compilation failed in require at test.pl line 2.
BEGIN failed--compilation aborted at test.pl line 2.
*** Error code 255

Stop in /usr/ports/textproc/p5-XML-LibXML-Common/work/XML-LibXML-Common-0.13/.te
stlink.
system call to 'make test 'OTHERLDFLAGS='' failed at Makefile.PL line 168.
no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from
  http://www.libxml.org/
If you install via RPMs, make sure you also install the -devel


**



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4096D756.5080701>