[Zope] GDChart on Linux
Hung Jung Lu
Mon, 11 Sep 2000 15:44:50 PDT
OKie, I now remember I did succeed in building GDChart on Linux. :)
Let me repost here a message exchange with Mike Steed a while back in the
Python mailing list, so in the future I won't get lost again. :)
From: Mike Steed <msteed@f...>
Date: Sat Aug 12, 2000 4:01am
Subject: Re: GDChart
Hung Jung Lu wrote:
>Does anyone have experience with GDChart (Python interface to GD)?
>I tried to install it on Linux, the make process seems fine, but I get the
>following error in Python:
> >>>import gdchart
>Traceback (innermost last):
> File "<stdin>", line 1, in ?
>ImportError: ./gdchart.so: undefined symbol: gdImagePng
>Any help is appreciated.
I became aware of this problem several days ago, but being the slacker
that I am, I have not yet put an updated archive on the web.
Here's the fix. In gd-1.8.1/Makefile, change line 18 from:
And change line 25 from:
LIBS=-lm -lgd -lpng -lz
LIBS=-lm -lgd -lpng -lz -ljpeg
Then if you rebuild libgd and the Python interface, it should all work.
Sorry for the hassle.
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at