Ask Your Question

sdk: component_writeInfo missing in ure libraries. [closed]

asked 2013-01-17 02:29:22 +0200

der Uhu gravatar image

updated 2015-10-20 01:17:39 +0200

Alex Kemp gravatar image

Hallo, I am writing client wchich should access openoffice server over the network. I have actually written it successfully with openoffice v3.2, but when I try to compile my stuff with v 3.4 regcomp refuses to register modules as follows:

/opt// -register -r scd.rdb -c
register component '' in registry 'scd.rdb' failed!
error (CannotRegisterImplementationException): cannot get symbol: component_writeInfo

I checked the actual module with nm and component_writeInfo symbol is really missing from it. What I am doing wrong?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-20 01:18:04.154639


Hi @der Uhu, Are you testing against LibreOffice or OpenOffice ?

qubit gravatar imagequbit ( 2013-01-17 04:01:57 +0200 )edit

I tested with both libreoffice, available in centos 6 (3.4.5) and with apache openoffice 3.4.1 that I downloaded from Both have the same error

der Uhu gravatar imageder Uhu ( 2013-01-17 09:25:23 +0200 )edit

About answer N1: I am aware that component_writeInfo is deprecated. But I do not use it myself. The error occurs when I run the utility regcomp, which comes with openoffice to register some ure modules which I need.

der Uhu gravatar imageder Uhu ( 2013-01-18 09:25:49 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-01-17 18:46:47 +0200

qubit gravatar image

updated 2013-01-18 09:49:15 +0200

I'm not very familiar with the component_writeInfo() functionality, but I think that it might be deprecated:

mmeeks: I just finished the audit of component_writeInfo usage - which (it seems) is the sign of bit-rotted code (for built-in components at least).

in a follow-up email:

kendy: So - what we need is to get rid of the component_writeInfo in the KDE3 code, and instead create the new xml .component file - similar to the Gnome one, I'd say.

In the API:

UPDATE: Okay, I'm understanding more and more of the problem as we go along! I now understand that you're trying to run regcomp, however it looks like support for regcomp has been removed from LibreOffice core:

This commit from December seems to cut out the last support for regcomp:

Does the documentation give you information about what function or alternate solution you should use instead of regcomp?

edit flag offensive delete link more


@der Uhu -- Update? you still interested in an answer to this question?

qubit gravatar imagequbit ( 2013-03-08 09:05:39 +0200 )edit

Question Tools


Asked: 2013-01-17 02:29:22 +0200

Seen: 268 times

Last updated: Jan 18 '13