Bug#294129: relocation error: undefined symbol: xmlTextReaderConstName

Drew Parsons Drew Parsons <dparsons@debian.org>, 294129@bugs.debian.org
Tue, 08 Feb 2005 12:26:46 +1100


Package: libgnomevfs2-0
Version: 2.8.3-11
Severity: normal

Hi, I'm experiencing a crash in /usr/lib/libgnomevfs-2.so.0. It doesn't
make sense, so I hope you can help.

I'm trying to get the latest OpenOffice beta (v1.9.74) running (yes,
you're libgnomevfs, not openoffice, but please bear with me!) I download
the latest binaries from www.openoffice.org, convert the rpms to debs
using alien, and install.  For the first time, it seems the upstream
openoffice binaries install cleanly and run on Debian.

So I have a blank openoffice window before me, it seems to be running
fine.  Yippee.  But when I go to open a document, I then get this error:

/opt/openoffice.org1.9.74/program/soffice.bin: relocation error:
/usr/lib/libgnomevfs-2.so.0: undefined symbol: xmlTextReaderConstName

and openoffice crashes.

I would have expected openoffice1.9, being beta quality and compiled for
a different system, to crash, and would not normally have bothered you.
However, the error message is telling me that the crash is occuring
in /usr/lib/libgnomevfs-2.so.0, not in openoffice as such.

When I look inside /usr/lib/libgnomevfs-2.so.0 with "nm -D", I do indeed see 
the undefined symbols, xmlTextReaderConstName and others. It's not too
hard for me to figure out these symbols are defined in
/usr/lib/libxml2.so.2.6.16, provided by libxml2:
$ nm -D /usr/lib/libxml2.so.2.6.16
...
000b5bb0 T xmlTextReaderConstName
...


Why is it that /usr/lib/libgnomevfs-2.so.0 cannot see or use the symbols
in /usr/lib/libxml2.so.2.6.16 ?  Am I correct in supposing the bug is in 
libgnomevfs2 and not in libxml2?

I am assuming that openoffice itself is not causing the bug, it's simply
trying to use libgnomevfs2.

Awaiting your help,

Drew

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages libgnomevfs2-0 depends on:
ii  libbonobo2-0                2.8.1-1      Bonobo CORBA interfaces library
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgconf2-4                 2.8.1-4      GNOME configuration database syste
ii  libglib2.0-0                2.6.2-1      The GLib library of C routines
ii  libgnomevfs2-common         2.8.3-11     The GNOME virtual file-system libr
ii  libgnutls11                 1.0.16-13    GNU TLS library - runtime library
ii  libhowl0                    0.9.8-2      Library for Zeroconf service disco
ii  liborbit2                   1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii  libxml2                     2.6.16-2     GNOME XML library
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information