Re: configure problem due to libpng dependency on zlib
From: Lars Clausen <lrclause cs uiuc edu>
To: dia-list gnome org
Subject: Re: configure problem due to libpng dependency on zlib
Date: Mon, 11 Aug 2003 15:31:06 -0500
On 22 Jul 2003, Andrew Marlow wrote:
> I just tried to build dia 0.9.1 on Solaris 8 and found that
> configure fails because libpng refers to zlib routines but
> test programs that link with libpng do not also link
> with zlib. This manifests as can't find a definition
> of neither finite nor isinf (sic). The definitions
> are there, it's the link that's failed.
> Can some knowledgeable person please investigate?
I've added a fix to todays CVS that makes the text actually link, not just
compile. So missing zlib should be caught. I'm still confused by your
description, though -- the check for finite/isinf doesn't link, so the zlib
link problem shouldn't manifest there. Have you tried to build a recent
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HĂ„rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?