In our official DEB binaries for RC1, PostgreSQL-SDBC fails to load because libldap50.so is not found when trying to load postgresql-sdbc-impl.uno.so.
- cp/ln cp /opt/libreoffice3.5/program/libldap50.so /opt/libreoffice3.5/share/extensions/postgresql-sdbc/
- sudo chrpath -r '$ORIGIN/../../../program' /opt/libreoffice3.5/share/extensions/postgresql-sdbc/postgresql-sdbc-impl.uno.so
- export LD_LIBRARY_PATH=/opt/libreoffice3.5/program/
Note the state in the binaries we distribute
(RPATH) Library rpath: [$ORIGIN:$ORIGIN/../ure-link/lib]
(RUNPATH) Library runpath: [$ORIGIN:$ORIGIN/../ure-link/lib]
For a description how to test postgresql-sdbc, see <http://lists.freedesktop.org/archives/libreoffice/2012-January/024333.html> "rpath / ... for extensions (and the case of PostgreSQL-SDBC)."
<http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=3a7ae48b6f610899200ae2800706533f7c4c9f80> "fdo#45090: Changed postgresql-sdbc from bundled oxt to proper optional part" should fix that, as discussed in the mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2012-January/024255.html> "rpath / ... for extensions (and the case of PostgreSQL-SDBC)."