Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 00:27:27 +1000 (EST)
From:      Enno Davids <enno.davids@metva.com.au>
To:        up@3.am
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: gd library woes...
Message-ID:  <200005111427.AAA09386@metva.com.au>
In-Reply-To: <Pine.BSF.4.10.10005101433540.48220-100000@richard2.pil.net> from "up@3.am" at "May 10, 0 02:39:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
| up@richard2.pil.net wrote:
| It seems alot of things I want to run (webalizer, mrtg, etc) need the gd
| libraries to run.  Ok, fine...it doesn't build from ports because it's too
| old, so I get the source, make, make install with no incidents.
| 
| graphs.o: In function `pie_chart':
| graphs.o(.text+0x25fd): undefined reference to `gdImageGif'
| *** Error code 1

....

| So, what am I doing wrong?

The problem here is that GD has over time evolved a little. Specifically,
early versions of GD used the GIF format for the graphic they were
generating. As GIF is encumbered by patents though, GD has dropped support
in favour of supporting PNG (and more recently JPG I believe).

So, in general you need to make sure the app you're trying to run has a
version of GD with the relevant interface. So, old versions of webalizer need
old versions of GD and new versions of webalizer use more recent versions of
GD for instance. Only matched APIs will 'mate' correctly.


Enno.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005111427.AAA09386>