I still can plot as root, but not as user!? If it's some
That I find bizarre. Could it be a PATH or an LD_LIBRARY_PATH issue;
ie, you and root are using different libraries. Have you customized
either of these variables? For example, if you do the following as
yourself and root, do you get the same link information
> ldd /usr/lib/python2.4/site-packages/matplotlib/_nc_transforms.so
> ldd /usr/lib/python2.4/site-packages/Numeric/_numpy.so
> kind of permission problem it would be good to know
> something about "../Objects/moduleobject.c". I there a way
> to get IPython to print the full path?
This is part of python -- if you install python-dev you should be able
to find the header on your system, eg at
/usr/include/python2.4/moduleobject.h
> Uh, I didn't build TkAgg, So I set BUILD_TKAGG = 'auto',
> but
> Do I have to install something besides python-tk?
You need the tk8.4-dev and maybe the tcl8.4-dev headers. You may have
a different version number.
> I hope we can sort this out.
Two other things to try.
1) See if we can narrow down where the segfault is occurring by trying
to import the matplotlib modules separately
import matplotlib.ft2font
import matplotlib._transforms
import matplotlib._agg
import matplotlib.backends._backend_agg
import matplotlib.backends._gtkagg
2) Compile matplotlib with
VERBOSE = True
in setup.py. This will cause the extension code to generate lots
of messages, and we may be able to narrow down precisely where
the crash is occurring.
JDH