libxml1 vs. libxml2 (Gnumeric 1.0.2 unable to read XML files)
- From: Nicholas Piper <nick nickpiper co uk>
- To: gnumeric-list gnome org
- Subject: libxml1 vs. libxml2 (Gnumeric 1.0.2 unable to read XML files)
- Date: Mon, 21 Jan 2002 21:56:11 +0000
List,
I'm trying to build Gnumeric 1.0.2, but my build is unable to read XML
files. It starts up, and complains about a problem with the plugin
system.
"Errors while initalizing plugin system.\n\nErrors while reading info
about available plugins."
Details of the errors show it is unable to read all the plugin.xml
files.
When trying to load a .gnumeric file (such as the included samples)
the message is "Invalid xml file. Tree is empty ?" and if I save a
file, the .gnumeric file contains only <?xml version="1.0"?> (gzip
compressed).
My gnumeric binary contains dynamic links to BOTH xml1 and xml2. I
think this is most likely an error:
nicholas piamox7:/tmp/gnumeric-1.0.2/src$ ldd gnumeric | grep xml
libxml.so.1 => /usr/local/lib/libxml.so.1 (0x405ee000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x40660000)
(I enclose the full ldd later in this email).
But by fiddling Makefiles if I remove libxml2 I get build errors:
gui-clipboard.o: In function `x_selection_handler':
/tmp/gnumeric-1.0.2/src/gui-clipboard.c:292: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_file_opener_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:410: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_file_saver_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:684: undefined reference to `xmlFree'
plugin-service.o: In function `plugin_service_function_group_read':
/tmp/gnumeric-1.0.2/src/plugin-service.c:814: undefined reference to `xmlFree'
/tmp/gnumeric-1.0.2/src/plugin-service.c:828: undefined reference to `xmlFree'
plugin.o:/tmp/gnumeric-1.0.2/src/plugin.c:751: more undefined references to `xmlFree' follow
collect2: ld returned 1 exit status
And I can't seem to persuade the gnumeric binary to not link against
libxml1, even when I alter the last call to GCC by hand and remove all
references to xml1. I see that libxml1 DOES contain a function called
xmlFree, so I'm a little confused here.
Is it possible my problems stem from some other libraries dependences?
Which libraries are possible culprits?
Thanks for any help,
Nick
The full ldd:
nicholas piamox7:/tmp/gnumeric-1.0.2/src$ ldd gnumeric
libgnomeole2.so.0 => /usr/local/lib/libgnomeole2.so.0 (0x40016000)
libgal.so.19 => /usr/local/lib/libgal.so.19 (0x40023000)
libgnomeprint.so.15 => /usr/local/lib/libgnomeprint.so.15
(0x40110000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40579000)
libglade-gnome.so.0 => /usr/local/lib/libglade-gnome.so.0
(0x405b1000)
libglade.so.0 => /usr/local/lib/libglade.so.0 (0x405cb000)
libxml.so.1 => /usr/local/lib/libxml.so.1 (0x405ee000)
libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x40660000)
libesd.so.0 => /usr/local/lib/libesd.so.0 (0x406f9000)
libgnomecanvaspixbuf.so.1 =>
/usr/local/lib/libgnomecanvaspixbuf.so.1 (0x40700000)
libgnomeui.so.32 => /usr/local/lib/libgnomeui.so.32 (0x40704000)
libart_lgpl.so.2 => /usr/local/lib/libart_lgpl.so.2 (0x407d5000)
libgdk_imlib.so.1 => /usr/local/lib/libgdk_imlib.so.1 (0x407e3000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4081f000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40828000)
libgnome.so.32 => /usr/local/lib/libgnome.so.32 (0x4083f000)
libgnomesupport.so.0 => /usr/local/lib/libgnomesupport.so.0
(0x40856000)
libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x4085b000)
libdb.so.3 => /lib/libdb.so.3 (0x40869000)
libgdk_pixbuf.so.2 => /usr/local/lib/libgdk_pixbuf.so.2
(0x408a4000)
libgtk-1.2.so.0 => /usr/local/lib/libgtk-1.2.so.0 (0x408b8000)
libgdk-1.2.so.0 => /usr/local/lib/libgdk-1.2.so.0 (0x409dd000)
libgmodule-1.2.so.0 => /usr/local/lib/libgmodule-1.2.so.0
(0x40a0f000)
libglib-1.2.so.0 => /usr/local/lib/libglib-1.2.so.0 (0x40a13000)
libdl.so.2 => /lib/libdl.so.2 (0x40a36000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40a3a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a47000)
libm.so.6 => /lib/libm.so.6 (0x40b1d000)
libc.so.6 => /lib/libc.so.6 (0x40b3f000)
libz.so.1 => /usr/lib/libz.so.1 (0x40c5d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
--
Part 3 MEng Cybernetics; Reading, UK http://www.nickpiper.co.uk/
Change PGP actions of mailer or fetch key see website 1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]