libgnomeprint-1.116.1 - "undefined reference to 'deflate'"

Mason Staugler mason at ulixesrex.com
Thu Nov 28 07:44:48 PST 2002


Dagmar d'Surreal wrote:
> On Wed, 2002-11-27 at 06:24, James Drabb wrote:
> 
> 
>>I had this same error.  For some reason -lz was not beeing included on
>>all gcc invocations.  You can edit the Makefile or do something like:
>>
>>CFLAGS="$CFLAGS -lz" CXXFLAGS="$CXXFLAGS -lz" make
>>
>>To compile everything.  Then do what you normally do for make install.
> 
> 
> Check the output of your configure script there and make sure you're
> seeing:
> 
> checking GP_LIBS... -Wl,--export-dynamic -lart_lgpl_2 -lpango-1.0
> -lbonobo-2 -lbonobo-activation -lORBit-2 -lxml2 -lz -lm -llinc
> -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lpthread -lglib-2.0
> 
> It _should_ be picking up on the libz dependendency through the
> pkgconfig file from libxml2.
> 

I got it to work by adding the -lz in the makefile when gcc is called. 
So I moved on and got another deflate error when making gnome-panel. 
I've already installed zlib according to the BLFS book (resolving a much 
earlier dependency) but does this mean that something went wrong?


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list