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

Dagmar d'Surreal dagmar at speakeasy.net
Wed Nov 27 21:45:59 PST 2002


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.

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