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

2012-05-01 Thread Stefan Fritsch
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.


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205011802.33681...@sfritsch.de



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

2012-04-30 Thread Stefan Fritsch

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.


I will ask the other upstream developers what they think of such a change.


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.deb.2.00.1204302119570.31...@eru.sfritsch.de



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

2012-04-29 Thread Julien Cristau
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?

Cheers,
Julien


signature.asc
Description: Digital signature