Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 12/09/2011 11:19 PM, Lionel Elie Mamane wrote:
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?

So it is a library that some LO library links against, but which is not part of the Mac OS X system (i.e., is not guaranteed to be available on every machine, in a fixed, well-known location)?

In that case, do not link any LO library directly against it at all. Have some logic to programmatically find where the library is on a given machine (if it is available at all), then access it via dlopen/dlysm.

Or, include a copy of the library in the LO installation set and link against that one.

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.