[xml/sgml-pkgs] Bug#670572: Bug#670572: libxml2: missing link from /usr/lib

Stefan Fritsch sf at sfritsch.de
Tue May 1 16:02:33 UTC 2012

On Monday 30 April 2012, Stefan Fritsch wrote:
> On Sun, 29 Apr 2012, Julien Cristau wrote:
> > On Sun, Apr 29, 2012 at 13:10:05 +0200, Stefan Fritsch wrote:
> >> "LoadFile /usr/lib/${DEB_HOST_MULTIARCH}/libxml2.so.2". This
> >> would break with non-multiarch versions of libxml2, but that's
> >> acceptable.
> > 
> > A simple "LoadFile libxml2.so.2" doesn't work?  Or any other way
> > to make it obey the normal dlopen search path?
> Unfortunately, Apache treats all non-absolute pathnames as relative
> to the server root directory. It will never pass a non-absoulute
> path to dlopen(). But we could change it to only do this if the
> relative pathname contains at least one slash.

Implemented that slightly differently: If the lib is not found in the 
server-root and the pathname has no slash, re-try with dlopen-search 
path. I have just uploaded apache 2.2.22-5. With it, a simple 
"LoadFile libxml2.so.2" should do the trick. I think this is now the 
preferred solution.

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