ANN: PIL 1.0 final
PythonWare
info at pythonware.com
Sat Aug 7 10:35:20 EDT 1999
Michael Spalinski <mspal at sangria.harvard.edu> wrote:
> I compiled PIL 1.0 on Red Hat Linux 5.2, but then I get:
>
> [schwinger:/usr/src/python/Python-1.5.2/Extensions/Imaging-1.0]# python
> Python 1.5.2 (#5, Apr 14 1999, 19:21:58) [GCC 2.7.2.3] on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import _imaging
> Traceback (innermost last):
> File "<stdin>", line 1, in ?
> ImportError: /usr/lib/libtk8.0.so: undefined symbol: XFreePixmap
> >>>
>
> Is my tk version too old? I have tk-8.0.3-20.
this might work:
comment out the Tkinter-related lines in the
Setup file and rebuild PIL (to use ImageTk, you
need to hook into Tkinter in the old way; see
Tk/README for more info).
or this:
rebuild Tcl/Tk with --enable-shared, and then
relink PIL.
hope this helps!
the PIL development team
More information about the Python-list
mailing list