Re: libxml/zlib Problem.



Tomasz Kłoczko wrote:

> 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*

I've added the little patch to Makefile.am, recompiled libxml and
sawmill, but nothing happens.
I still get the same error message.

I use a Mandrake (redhat based) distribution. I do not get any
dependencies for libz. I checked an older libxml package from the
Mandrake cd, but there aren't any libz dependencies in this rpm. Maybe
it uses the static libz libraries instead.

I know this is a problem related to libxml, because i recompiled other
packages that use libz. None of them had this problem, they all show in
de dependencies list libz. I think it's strange that only sawmill has
problems, packages like gnumeric or screem do not complain. Or is the
library not loaded on startup.

Paul Kreugel



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