[Libreoffice] [PATCH] rpath / ... for extensions (and the case of PostgreSQL-SDBC)

Fridrich Strba fridrich.strba at graduateinstitute.ch
Sun Jan 22 13:03:24 PST 2012


Lionel,

I would guess that maybe there would be a way to generally ask the
extension manager to look for dependent libraries of the extensions in
other place then URE/lib only. Let us see what Stephan answers in the
Windows bug. I guess that generic solution involving loading of shared
objects from program directory could be found. I really don't like
copying over libraries like this.

Just let us wait for Stephan


On 22/01/12 19:12, Lionel Elie Mamane wrote:
> On Sun, Jan 22, 2012 at 05:55:07PM +0100, Lionel Elie Mamane wrote:
> 
>> With respect to fdo#45090, that is the GNU/Linux dlopen() does not
>> find libldap50.so when loading PostgreSQL-SDBC's
>> postgresql-sdbc-impl.uno.so.
> 
>> Now that I think of it, only the copy solution will make it work with
>> a LibreOffice compiled with --with-openldap, since that LibreOffice
>> won't ship libldap50.so. But distros will hate that, so they need a
>> way to disable that... I'd say do it only if LibreOffice is not
>> configured to use its internal mozldap.
> 
> I'm thinking of something along the lines of the attached patch.
> 
> 
> 
> 
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list