Help installing PIL/Sketch

Grant Edwards grante at visi.com
Thu Oct 19 14:59:02 EDT 2000


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.


>>>> 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...

-- 
Grant Edwards                   grante             Yow!  Sign my PETITION.
                                  at               
                               visi.com            



More information about the Python-list mailing list