Hi

After several painful hours trying I am still unable to build and install
the XML::Common, XML::LibXML and XML::LibXSLT libraries on my FreeBSD 4.2
server.

I'm attempting to build and install all new libraries in local perl library
directory residing in home directory. The problem seems to be around a
symbol defined in the libxml2 library ( which has already been succesfully
installed in /home/chonour/perllib/lib ) which cannot be resolved.

I've tried changing various options to MakeMaker to reference the
appropirate locally installed libxml2 libraries but am still getting the
same error.

I wonder if anybody could help me - I've enclosed a copy of the build output
below.

Thanks.

Chandran Honour.
Technology Consultant
Altrunet Ltd.

email : [EMAIL PROTECTED]
web   : http://www.altrunet.co.uk

 perl -I /home/chonour/perllib Makefile.PL LIB=/home/chonour/perllib
LIBS='-L/home/chonour/perllib' INC='-I/home/chonour/perllib/include/libxml2'
running xml2-config... ok
looking for -lxml2... yes
Note (probably harmless): No library found for -lxml2
Writing Makefile for XML::LibXML::Common
rafiu% make
cc -c -I/home/chonour/perllib/include/libxml2       -DVERSION=\"0.12\"  -DXS
_VERSION=\"0.12\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_B
LANK Common.c
Common.xs: In function `XS_XML__LibXML__Common_encodeToUTF8':
Common.xs:125: warning: passing arg 1 of `Perl_newSVpvn' discards qualifiers
from pointer target type
Common.xs: In function `XS_XML__LibXML__Common_decodeFromUTF8':
Common.xs:211: warning: passing arg 1 of `Perl_newSVpvn' discards qualifiers
from pointer target type
Running Mkbootstrap for XML::LibXML::Common ()
chmod 644 Common.bs
cc -o blib/arch/auto/XML/LibXML/Common/Common.so  -Wl,-E -shared -lperl -lm
Common.o    -L/home/chonour/perllib -lz -lm
chmod 755 blib/arch/auto/XML/LibXML/Common/Common.so
cp Common.bs blib/arch/auto/XML/LibXML/Common/Common.bs
chmod 644 blib/arch/auto/XML/LibXML/Common/Common.bs
Manifying blib/man3/XML::LibXML::Common.3
rafiu% make test
PERL_DL_NONLAZY=1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr
/libdata/perl/5.00503 test.pl
1..5
Can't load 'blib/arch/auto/XML/LibXML/Common/Common.so' for module
XML::LibXML::Common: blib/arch/auto/XML/LibXML/Common/Common.so: Undefined
symbol "xmlFree" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.

 at test.pl line 10
BEGIN failed--compilation aborted at test.pl line 10.
*** Error code 255

Stop in /usr/home/chonour/tmp/XML-LibXML-Common-0.12.







Lead Consultant
Altrunet Ltd.

tel     : +44 (0) 118 9671151
mob  : +44 (0) 7866 263138
email : [EMAIL PROTECTED]
web   : http://www.altrunet.co.uk







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to