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


On 01/22/2012 05:55 PM, Lionel Elie Mamane wrote:
Hi,

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.

"Naturally", libldap50.so is in $INSTALL_DIR/program/.

Have we already solved this problem, and if yes, how do I apply the
solution to PostgreSQL-SDBC?

The "solution" is that extensions must only link against the handful of libraries in the URE interface (basically cppu, cppuhelper, sal, salhelper) and not against any others provided by LO. Everything else is not supported and is an error.

The best fix would probably be to change postgresql-sdbc.oxt from a bundled extension into an -- optionally installable, but "proper" -- part of the installation.

A workaround hack for Linux would indeed be to modify RPATH, see <http://lists.freedesktop.org/archives/libreoffice/2012-January/023463.html> (RUNPATH is link-time only, btw.).

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.