tag 396416 wontfix thanks On Tue, Oct 31, 2006 at 08:49:29AM -0800, Tom Epperly <[EMAIL PROTECTED]> 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]