Bug#396416: [xml/sgml-pkgs] Bug#396416: libxml2-dev: libxml2.la leaves out dependencies on -lz -lm

Mike Hommey mh at glandium.org
Tue Oct 31 23:02:11 CET 2006


tag 396416 wontfix
thanks

On Tue, Oct 31, 2006 at 08:49:29AM -0800, Tom Epperly <tepperly at llnl.gov> wrote:
> 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=''

When you build statically, you need to add them by yourself. You can get
the set of libraries you need by running pkg-config libxml-2.0 --libs --static
of xml2-config --libs --static. It is a long term plan to remove the .la
files, but in the meanwhile, I prefer to have this half broken setup.

Mike




More information about the debian-xml-sgml-pkgs mailing list