FreeBSD Port: libxml2-2.6.9

Joe Marcus Clarke marcus at marcuscom.com
Thu May 6 14:00:24 PDT 2004


On Thu, 6 May 2004, Adam Weinberger wrote:

> >> (05.03.2004 @ 1935 PST): Roman J Mashirov said, in 5.4K: <<
> > 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',
>
> Joe? This is directly analogous to the pthread problems I was talking
> with you about a few days ago. On every single one of my -current boxes,
> pkg-config --libs gthread-2.0 includes -pthread and not -lpthread.
>
> audio/arts will not build on a single box I own because of this, and I
> suspect that many other things will fail for others too.
>
> Why is this failing for me and others, and working for still others?

I fixed this in glib20 a few days ago.

Joe

>
> # Adam
>
>
> > 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
> >
> >
> > **
> > _______________________________________________
> > 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"
> >> end of "FreeBSD Port: libxml2-2.6.9" from Roman J Mashirov <<
>
>
> --
> Adam Weinberger
> adamw at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx    ||   adamw at gnome.org
> http://www.vectors.cx
> _______________________________________________
> 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


More information about the freebsd-gnome mailing list