[xml/sgml-pkgs] Bug#396416: libxml2-dev: libxml2.la leaves out
dependencies on -lz -lm
Tom Epperly
tepperly at llnl.gov
Tue Oct 31 17:49:29 CET 2006
Package: libxml2-dev
Version: 2.6.26.dfsg-4
Severity: normal
Because libxml2.la doesn't list dependencies on -lz and -lm, the following
compilation fails. A libxml2 that I built myself has in its libxml2.la
the following two lines (not including the indentation):
# Libraries that this one depends upon.
dependency_libs=' -lpthread -lz -lm'
The libxml2.la that Debian ships has:
# Libraries that this one depends upon.
dependency_libs=''
make[4]: `libClient.la' is up to date.
/bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -pthread -o runC2C -static helloclient.o libClient.la ../libC/libImpl.la ../../../runtime/sidlx/libsidlx.la ../../../runtime/sidl/libsidl.la
gcc -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -pthread -o runC2C helloclient.o ./.libs/libClient.a -L/usr/local/chasm1.3_rc2/lib ../libC/.libs/libImpl.a ../../../runtime/sidlx/.libs/libsidlx.a /home/epperly/current/numpy_test/linux/runtime/sidl/.libs/libsidl.a ../../../runtime/sidl/.libs/libsidl.a -ldl -lchasm /usr/lib/libxml2.a
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpenW':
(.text+0xe6b): undefined reference to `gzopen'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpenW':
(.text+0xe95): undefined reference to `gzdopen'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpen_real':
(.text+0xf40): undefined reference to `gzopen'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpen_real':
(.text+0xf69): undefined reference to `gzdopen'
/usr/lib/libxml2.a(xmlIO.o): In function `__xmlParserInputBufferCreateFilename':(.text+0x10b6): undefined reference to `gzread'
/usr/lib/libxml2.a(xmlIO.o): In function `__xmlParserInputBufferCreateFilename':(.text+0x10e6): undefined reference to `gzrewind'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlFreeZMemBuff':
(.text+0x1220): undefined reference to `deflateEnd'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPCloseWrite':
(.text+0x2a7d): undefined reference to `deflate'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPWrite':
(.text+0x2d17): undefined reference to `deflate'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPWrite':
(.text+0x2dc0): undefined reference to `crc32'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPOpenW':
(.text+0x2efc): undefined reference to `deflateInit2_'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPOpenW':
(.text+0x2fb9): undefined reference to `crc32'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileClose':
(.text+0x33dd): undefined reference to `gzclose'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileWrite':
(.text+0x341c): undefined reference to `gzwrite'
/usr/lib/libxml2.a(xmlIO.o): In function `xmlGzfileRead':
(.text+0x346c): undefined reference to `gzread'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathStringEvalNumber':
(.text+0x31dd): undefined reference to `pow'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathRoundFunction':
(.text+0x5beb): undefined reference to `fmod'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathCeilingFunction':
(.text+0x5daf): undefined reference to `fmod'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathFloorFunction':
(.text+0x5ea9): undefined reference to `fmod'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathModValues':
(.text+0x6b16): undefined reference to `fmod'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathCastNumberToString':
(.text+0x76d7): undefined reference to `log10'
/usr/lib/libxml2.a(xpath.o): In function `xmlXPathCompPathExpr':
(.text+0xb859): undefined reference to `pow'
/usr/lib/libxml2.a(nanohttp.o): In function `xmlNanoHTTPFreeCtxt':
(.text+0xf1b): undefined reference to `inflateEnd'
/usr/lib/libxml2.a(nanohttp.o): In function `xmlNanoHTTPRead':
(.text+0x110d): undefined reference to `inflate'
/usr/lib/libxml2.a(nanohttp.o): In function `xmlNanoHTTPMethodRedir':
(.text+0x1f9a): undefined reference to `inflateInit2_'
/usr/lib/libxml2.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
(.text+0x13ec): undefined reference to `floor'
/usr/lib/libxml2.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
(.text+0x14da): undefined reference to `floor'
/usr/lib/libxml2.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
(.text+0x1576): undefined reference to `floor'
/usr/lib/libxml2.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
(.text+0x16c8): undefined reference to `floor'
/usr/lib/libxml2.a(xmlschemastypes.o): In function `xmlSchemaDateNormalize':
(.text+0x18f5): undefined reference to `floor'
collect2: ld returned 1 exit status
make[4]: *** [runC2C] Error 1
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages libxml2-dev depends on:
ii libxml2 2.6.26.dfsg-4 GNOME XML library
libxml2-dev recommends no packages.
-- no debconf information
More information about the debian-xml-sgml-pkgs
mailing list