[Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

Lionel Elie Mamane lionel at mamane.lu
Fri Dec 9 14:19:21 PST 2011


On Fri, Dec 09, 2011 at 02:24:15PM +0100, Stephan Bergmann wrote:
> On 12/09/2011 10:44 AM, Alexander Thurgood wrote:
>>otool -L
>>/Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.dylib

>>/Users/Shared/LO/master/connectivity/unxmacxi.pro/lib/postgresql-sdbc-impl.uno.dylib:

>>@__________________________________________________OOO/postgresql-sdbc-impl.uno.dylib
>>(compatibility version 0.0.0, current version 0.0.0)

>>(compatibility version 0.0.0, current version 0.0.0)
>>     libpq.5.dylib (compatibility version 5.0.0, current version 5.3.0)

> That way it won't be found at runtime.  If it is a lib from the
> system, it should have an absolute path (like the ones below), if it
> is part of LO it should be referenced relatively via @loader_path
> (like the ones above).

Well, as a system lib I understand it can be installed nearly anywhere:

 - The "one click installer" puts it in /Library/PostgreSQL/${VERSION}/lib

 - fink and MacPorts put it *by default* in
   /sw/opt/postgresql/${VERSION}/bin
   /opt/local/lib/postgresql${VERSION}/bin
   But from documentation on the web, I gather that the user can
   change the "/sw/" and "/opt/local" prefix to anything.

So I wonder what we would put as absolute path. Are we supposed to
bundle it with LibreOffice, à la Microsoft Windows?

-- 
Lionel


More information about the LibreOffice mailing list