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


On Fri, Dec 09, 2011 at 10:35:51AM +0100, Alexander Thurgood wrote:
Le 09/12/11 01:52, Lionel Elie Mamane a écrit :

Now that I think of it, since libpq is in a path like
/Library/PostgreSQL/9.1/lib/libpq.5.dylib, how is it supposed to be
found by the dynamic linker at runtime?

If I compare with the postgres OXT file on Linux, the connector includes
the impl.uno file, which weighs in at 6.2Mb uncompressed. However, the
Mac OXT in comparison does not include the impl.uno file in its bundle,
so maybe it is just a packaging issue ?

That would indeed make it not work, as this contains the actual
driver!

But I'm clueless as to why that is so. The Mac OS .oxt file has
postgresql-sdbc.uno.dylib, but not postgresql-sdbc-impl.uno.dylib if I
understand right?

Maybe I can find a clue in verbose build log of postgresql-sdbc?
Here's how to get one:

source Env.Host.sh
cd connectivity
find unxmac* -name '*postgresql*' -or -name 'pq_*' | xargs rm
build verbose=T 2>&1 | tee build.log

And then the build log is in file build.log

-- 
Lionel

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.