[Image-SIG] seg fault : help please

Peter Funk pf@artcom-gmbh.de
Sun, 7 Nov 1999 10:39:18 +0100 (MET)


Hi!

Mike Rushford wrote:
> Could someone help me with this seg fault, please?
> Please reply directly as I am not on the mailing list.
> 
> Imaging-1.0 # PYTHONPATH=.:./PIL
> Imaging-1.0 # export PYTHONPATH
> Imaging-1.0 # python
> Python 1.5.2 (#3, Nov  7 1999, 02:20:58)  [GCC 2.7.2.3] on linux2
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import _imaging
> Segmentation fault
> Imaging-1.0 #

Your platform is Linux, but you said nothing about the used distribution.
SuSE? RedHat? Debian?  Which version?

May be this is simply a conflict between the shared objects and
libraries used.  I had something similar, as I tried to install the
binary distribution of Python 1.5.2 out of SuSE Linux 6.2 on a system
running SuSE 5.3 3 as the base distribution.  It has taken me half
an hour to track down the tree of dependicies between shared libaries
used by PIL, python, tkinter, Tk, tcl, Tix, X11 and so on and get to
system, where everything seems to be okay again. :-(  Managing a
mixture of libc5, glibc2.0 aka libc6 and glibc2.1 seems to be a 
difficult exercise, though. :-(

Having just written the previous paragraph I now notice, that you
must have compiled python yourself.  Now I ask: is there a _tkinter.so
in  your search path and is this the modified version compiled from 
the source coming along with PIL?  you should check this out first.

If your are using SuSE 6.2 there is no need to compile Python and PIL
yourself in the first place, because they come precompiled with this
distribution.  I don't know about RedHat 6.1 (haven't seen it yet).

Regards from Germany, Peter
-- 
Peter Funk, Oldenburger Str.86, 27777 Ganderkesee, Tel: 04222 9502 70, Fax: -60