Re: libxml/zlib Problem.



On Thu, 3 Feb 2000, Daniel Veillard wrote:
[..]
> > All programs work except sawmill-themer, which says:
> > rep: error in loading shared libraries:
> > /usr/X11R6/lib/libxml.so.1: undefined symbol: gzopen
> > 
> > I've recompiled sawmill, librep, rep-gtk and upgraded libxml to version
> > 1.8.6 but nothing works.
> > 
> > Can someone please tell what I have to do.
> 
>   What system/distribution are you using ???

This bud not relayted to disribution. 

@@ -9,6 +9,7 @@
 bin_SCRIPTS=xml-config
 
 lib_LTLIBRARIES = libxml.la
+libxml_la_LIBADD = @Z_LIBS@
 
 libxml_la_SOURCES = \
                SAX.c \

im Makefile.am can fix this.

I'm just try to add this to cvs resources.

> 
> This drives me nuts, each time one tries to fixe the dependancies
> to zlib, the new patch break on a different setup.
> Can someone *knowledgeable* about this issue have a look and fix it
> for once, the automake/autoconf stuff is just completely confusing on
> this issue. Also all programs using libxml should use xml-config --libs
> to get the appropriate libraries needed at link time.

Yes but linking with correct libraries list is also important. For example
without -lz on linking libxml rpm cant correctly create dependences list
and You will see no info about libz relation to libxml.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]