[Libreoffice] [REVIEW][3-5] let postgresql-sdbc find its dependencies

Lionel Elie Mamane lionel at mamane.lu
Tue Jan 24 09:15:09 PST 2012


On Mon, Jan 23, 2012 at 04:16:55PM +0100, Lionel Elie Mamane wrote:
> On Mon, Jan 23, 2012 at 03:21:30PM +0100, Stephan Bergmann wrote:

>> * <https://bugs.freedesktop.org/show_bug.cgi?id=45058>
>> "postgresql-sdbc doesn't work on LO 3.5RC1 win32"

>> * <https://bugs.freedesktop.org/show_bug.cgi?id=45090>
>> "PostgreSQL-SDBC fails to load on Unix / official binaries: missing
>> libldap50.so"

>> can (only) be solved by changing the postgresql-sdbc functionality
>> from a bundled extension into a proper (optional) part of LO.

>> Whether the functionality actually works there however is not clear
>> to me, as I have no recipe how to test it.

> I'm working on that. Doing a recompile with your patch applied.

No, does not work for me. Says (on stderr):

warn:configmgr:30707:1:/home/master/src/libreoffice/core/configmgr/source/components.cxx:723: file does not exist: "file:///home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../share/extensions/postgresql-sdbc/postgresql.xcu"

And when actually trying to connect, a GUI pop-up says:

An exception occured
Type: com.sun.star.loader.CannotActivateFactoryException
Message:
file:///path/to/libo/solver/unxlngx6/installation/opt/program/../program/postgresql-sdbc.uno.so:
cannot get factory of demanded implementation: org.openoffice.comp.connectivity.pq.Connection

And probably unrelated, also says:

warn:legacy.osl:30729:8:/home/master/src/libreoffice/core/tools/source/rc/resmgr.cxx:813: file:///home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/resource/vclen-US.res
Class: 275, Id: 25017. Cannot load resource! 
Resource Stack

warn:legacy.osl:30729:8:/home/master/src/libreoffice/core/vcl/source/gdi/bitmapex.cxx:117: BitmapEx::BitmapEx( const ResId& rResId ): could not load image <<resource not found>>
warn:legacy.tools:30729:8:/home/master/src/libreoffice/core/vcl/source/gdi/bmpacc.cxx:77: Forbidden Access to empty bitmap!
warn:legacy.osl:30729:8:/home/master/src/libreoffice/core/tools/source/rc/resmgr.cxx:813: file:///home/master/src/libreoffice/core/solver/unxlngx6/installation/opt/program/../program/resource/vclen-US.res
Class: 275, Id: 24017. Cannot load resource! 
Resource Stack

warn:legacy.osl:30729:8:/home/master/src/libreoffice/core/vcl/source/gdi/bitmapex.cxx:117: BitmapEx::BitmapEx( const ResId& rResId ): could not load image <<resource not found>>
warn:legacy.tools:30729:8:/home/master/src/libreoffice/core/vcl/source/gdi/bmpacc.cxx:77: Forbidden Access to empty bitmap!

-- 
Lionel


More information about the LibreOffice mailing list