[Libreoffice] [LibreOffice][GSoC 2011][svgexport] build issue: "libvcllx.so: undefined symbol: _ZN3utl10ConfigItemC2ERKN3rtl8OUStringEs"

Michael Meeks michael.meeks at novell.com
Mon May 23 08:43:58 PDT 2011


Hi Marco,

On Mon, 2011-05-23 at 00:10 +0200, Marco wrote:
> after the last "pull -r && make all" when I start soffice I got the
> following error:
> "libvcllx.so: undefined symbol: _ZN3utl10ConfigItemC2ERKN3rtl8OUStringEs"

	Ok - nasty. I hope you did a './g pull -r' in the top-level and that
all your modules were updated fully ? (ie. no failures) ? if not you
need to get a consistent state by doing that. If you have changes you
may need to 'git stash' them first, check 'git diff'.

> the library belongs to the vcl module, the symbol:
> "utl::ConfigItem::ConfigItem(rtl::OUString const&, short)"
> to the unotools module.

	So - I use '.g grep ConfigITem'

> In first place I tried:
> "make -sr clean && make -sr" in unotools and
> "deliver -delete && rm -Rf unx* && build && deliver" in vcl
> followed by a new "make all".
> No luck the error remain

	That is unfortunate, particularly since my from-clean build works.

> So what should I try now ? A "make clean && make all" ?
> Is it better that I remove manually some folder ?

	It looks like you did the right things, perhaps your checkout is
not-in-sync ? is it possible your shell environment is old and/or
belongs to another version of LibreOffice ?

	Failing that, I tend to dig around with tools like
'objdump -T' (on shared libraries) to work out who exports those
symbols, grep the installed LibreOffice to look at what it is doing etc.
with enough hunting, it should be possible to unwind what went wrong.

	My libutl has this symbol:

$ objdump -T lib/libutlli.so | grep _ZN3utl10ConfigItemC2ERKN3rtl8OUStringEs
00047e7a g    DF .text	00000130  Base        _ZN3utl10ConfigItemC2ERKN3rtl8OUStringEs

	Does yours ?

	HTH,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot




More information about the LibreOffice mailing list