Help installing PIL/Sketch
Bernhard Herzog
herzog at online.de
Thu Oct 19 16:58:42 EDT 2000
grante at visi.com (Grant Edwards) writes:
> In article <zhHH5.2221$FU3.513989 at ptah.visi.com>, Grant Edwards wrote:
>
> >Apparently the python-imaging RPM pointed to by the Sketch home
> >page doesn't contain the include files, so it isn't useful for
> >building Sketch.
That's true, unfortunately. I don't know about a Red Hat PIL-rpm that
includes the header files and I can't build one myself at the moment. If
someone knows such has a package or can build one for Sketch, please let
me know.
> >>>> import _imaging
> >Traceback (innermost last):
> > File "<stdin>", line 1, in ?
> >ImportError: ./_imaging.so: undefined symbol: XCreateRegion
>
> Copying the include files from the source distribution makes
> things work with the RPM, but I'm still curious what was wrong
> when building PIL from sources.
>
> The libraries used by _imaging.so are:
> $ ldd _imaging.so
> libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40145000)
> libz.so.1 => /usr/lib/libz.so.1 (0x40164000)
> libc.so.6 => /lib/libc.so.6 (0x40173000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
>
> But there are a bunch of undefined X11 symbols. It looks to me
> like _imaging.so should depend on some X libs...
IIRC, this problem is fixed in PIL 1.1.
Bernhard
--
Bernhard Herzog | Sketch, a drawing program for Unix
herzog at online.de | http://sketch.sourceforge.net/
More information about the Python-list
mailing list