Hi,

I've some trouble installing a self-compiled extension:

linux-o9ss:/opt/openoffice.org3/program # rm ./trace.txt; strace -e open,stat -o ./trace.txt /opt/openoffice.org3/program/unopkg add
--verbose--force --log-file ./uno.log /home/nixnutz/mysql-native.oxt
Copying: mysql-native.oxt
Enabling: mysql-native.oxt
 Enabling: mysqlc.so

ERROR: (com.sun.star.deployment.DeploymentException) { { Message = "An error occurred while enabling: mysqlc.so", Context = (com.sun.star.uno.XInterface) @-4be0feb0 }, Cause = (any) { (com.sun.star.registry.CannotRegisterImplementationException) { { Message =
"loading component library failed:
file:///root/.openoffice.org3/user/uno_packages/cache/uno_packages/OVVwHa_/mysql-native.oxt/mysqlc.so", Context =
(com.sun.star.uno.XInterface) @0 } } } }
 rollback...
  rollback finished.
An error occurred while enabling: mysqlc.so

The OOo 3 installation has been created from the RPM archives that I build on this SuSE 11, x86, 32bit virtual machine. The error is the same regardless how I try to install the extension: as an unpriviledged user, as root, using onopkg, using the GUI .

The trace.txt that I create through strace shows no missing libraries but libgcc3_urp.so/libgcc3_urp.so:

[...]
open("/root/.openoffice.org3/user/uno_packages/cache/uno_packages/NZoraF_/mysql-native.oxt/description.xml", O_RDONLY|O_LARGEFILE) = 21
open("/opt/openoffice.org/ure/lib/uuresolver.uno.so", O_RDONLY) = 21
open("/opt/openoffice.org/ure/lib/connector.uno.so", O_RDONLY) = 21
open("/opt/openoffice.org/ure/lib/bridgefac.uno.so", O_RDONLY) = 22
open("/opt/openoffice.org/ure/lib/librmcxt.so.3", O_RDONLY) = 22
open("/opt/openoffice.org/ure/lib/remotebridge.uno.so", O_RDONLY) = 22
open("/opt/openoffice.org/ure/lib/liburp_uno.so", O_RDONLY) = 22
open("/opt/openoffice.org/ure/lib/liburp_gcc3.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/opt/openoffice.org/ure/lib/libgcc3_urp.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/openoffice.org3/program/bootstraprc", O_RDONLY|O_LARGEFILE) = 22

A missing library *gcc3*urp.so sounds a bit weird to me. I have used a GCC 4.3.something to compile OOo as GCC 4.3.something is the default compiler available on SuSE 11.

Any hints?

Thanks!
Ulf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to