Subject: | [cygwin/libxml2 2.6.16] horrible lots of bugs |
of course i have the very recent cygwin libxml2 and libxml2-devel packages installed.
Maybe this "Note (probably harmless): No library found for -lxml2" is relevant. But Makefile.PL states prior "looking for -lxml2... yes"
Cheers,
Murat
--[1]--
$ perl Makefile.PL
enable native perl UTF8
running xml2-config... ok
looking for -lxml2... yes
Note (probably harmless): No library found for -lxml2
Writing Makefile for XML::LibXML::Common
$ make
cp Common.pm blib/lib/XML/LibXML/Common.pm
/usr/bin/perl.exe /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/
5.8.5/ExtUtils/typemap -typemap typemap Common.xs > Common.xsc && mv Common.xsc
Common.c
gcc -c -I/usr/include/libxml2 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"0.13\" -DXS_VERSION=\"0.1
3\" "-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE" -DHAVE_UTF8 -DHAVE
_BLANK Common.c
Running Mkbootstrap for XML::LibXML::Common ()
chmod 644 Common.bs
rm -f blib/arch/auto/XML/LibXML/Common/Common.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib Common.o -o blib/arch/auto/XML/LibXML/C
ommon/Common.dll /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE/libperl.dl
l.a -L/usr/lib -lz -liconv -lm
gcc -shared -o Common.dll -Wl,--out-implib=libCommon.dll.a -Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Common.o /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/COR
E/libperl.dll.a -L/usr/lib -lz -liconv -lm
Creating library file: libCommon.dll.a
Common.o(.text+0x2f9):Common.c: undefined reference to `_xmlParseCharEncoding'
Common.o(.text+0x368):Common.c: undefined reference to `_xmlSetGenericErrorFunc'
Common.o(.text+0x380):Common.c: undefined reference to `_xmlFindCharEncodingHand
ler'
Common.o(.text+0x38f):Common.c: undefined reference to `_xmlBufferCreate'
Common.o(.text+0x396):Common.c: undefined reference to `_xmlBufferCreate'
Common.o(.text+0x3a7):Common.c: undefined reference to `_xmlBufferCCat'
Common.o(.text+0x3b7):Common.c: undefined reference to `_xmlCharEncInFunc'
Common.o(.text+0x3c5):Common.c: undefined reference to `_xmlStrdup'
Common.o(.text+0x3d0):Common.c: undefined reference to `_xmlBufferFree'
Common.o(.text+0x3d8):Common.c: undefined reference to `_xmlBufferFree'
Common.o(.text+0x3e0):Common.c: undefined reference to `_xmlCharEncCloseFunc'
Common.o(.text+0x431):Common.c: undefined reference to `_xmlStrlen'
Common.o(.text+0x475):Common.c: undefined reference to `_xmlFree'
Common.o(.text+0x5a5):Common.c: undefined reference to `_xmlGetCharEncodingHandl
er'
Common.o(.text+0x5c1):Common.c: undefined reference to `_xmlStrdup'
Common.o(.text+0x876):Common.c: undefined reference to `_xmlParseCharEncoding'
Common.o(.text+0x8e9):Common.c: undefined reference to `_xmlSetGenericErrorFunc'
Common.o(.text+0x92d):Common.c: undefined reference to `_xmlFindCharEncodingHand
ler'
Common.o(.text+0x93c):Common.c: undefined reference to `_xmlBufferCreate'
Common.o(.text+0x943):Common.c: undefined reference to `_xmlBufferCreate'
Common.o(.text+0x954):Common.c: undefined reference to `_xmlBufferCCat'
Common.o(.text+0x964):Common.c: undefined reference to `_xmlCharEncOutFunc'
Common.o(.text+0x970):Common.c: undefined reference to `_xmlBufferLength'
Common.o(.text+0x97b):Common.c: undefined reference to `_xmlBufferContent'
Common.o(.text+0x98a):Common.c: undefined reference to `_xmlCharStrndup'
Common.o(.text+0x995):Common.c: undefined reference to `_xmlBufferFree'
Common.o(.text+0x99d):Common.c: undefined reference to `_xmlBufferFree'
Common.o(.text+0x9a5):Common.c: undefined reference to `_xmlCharEncCloseFunc'
Common.o(.text+0x9fd):Common.c: undefined reference to `_xmlFree'
Common.o(.text+0xb4d):Common.c: undefined reference to `_xmlGetCharEncodingHandl
er'
Common.o(.text+0xb5d):Common.c: undefined reference to `_xmlStrdup'
Common.o(.text+0xb68):Common.c: undefined reference to `_xmlStrlen'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Common.dll -Wl,--out-implib=libCommon.dll.a -Wl,--export-all-sym
bols -Wl,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Common.o /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/COR
E/libperl.dll.a -L/usr/lib -lz -liconv -lm
make: *** [blib/arch/auto/XML/LibXML/Common/Common.dll] Error 1