Re: zlibish problems with cvs gnome-libs

[Todd: I cc'd this to you for suggested addition to the FAQ]

On Sat, 9 Jan 1999, John Kennedy wrote:
>   I'm having a problem compiling gnome-libs.  I just started trying
> to beat on GNOME, so I don't have anything working to compare against.
>   I've compiled/compiling, in this order:
> 	glib, gtk+, imlib, libIDL, ORBit, audiofile, esound & gnome-libs
>   They seem happy, but all I really have is the configuration test
> programs for the modules that follow them.
>   Typical configuration options are "--prefix=/opt/gnome i586-pc-linux-gnu".
>   Configuration seems happy finding zlib...
> 	../gtk-xmhtml/.libs/ undefined reference to `uncompress'
> 	../gtk-xmhtml/.libs/ undefined reference to `compress'
> 	collect2: ld returned 1 exit status
> 	make[2]: *** [htmltest] Error 1
> 	make[2]: Leaving directory `/h/src/jk1/cvs/gnome/gnome-libs/gtk-xmhtml'

This is certainly a Frequently Asked Question, but it doesn't appear to be
in the FAQ.  Many distributions stash an old copy of libz in
/usr/X11R6/lib.  The result of this is that configure finds the new
version, but make ends up linking against the old version, producing the
errors you list.  The solution is to remove all old versions of libz, so
that you are left with only the libz from zlib version 1.1.2.  Then rerun

This should not cause problems with programs linked against the old libz,
all the ones I've tried or heard about will happily run with the newer


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