Re: configure problem due to libpng dependency on zlib



On 22 Jul 2003, Andrew Marlow wrote:
Hi,

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

-Lars

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



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