From owner-freebsd-isp Thu May 11 7:28:17 2000 Delivered-To: freebsd-isp@freebsd.org Received: from metva.com.au (metva.metva.com.au [202.0.82.1]) by hub.freebsd.org (Postfix) with ESMTP id A2F9737B9D2 for ; Thu, 11 May 2000 07:28:11 -0700 (PDT) (envelope-from enno.davids@metva.com.au) Received: (from enno@localhost) by metva.com.au id AAA09386; Fri, 12 May 2000 00:27:28 +1000 (EST) From: Enno Davids Message-Id: <200005111427.AAA09386@metva.com.au> Subject: Re: gd library woes... In-Reply-To: from "up@3.am" at "May 10, 0 02:39:22 pm" To: up@3.am Date: Fri, 12 May 2000 00:27:27 +1000 (EST) Cc: freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org | 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