[Python-modules-team] Bug#501578: matplotlib: nxutils.so: undefined symbol: __gxx_personality_v0
Kumar Appaiah
a.kumar at alumni.iitm.ac.in
Wed Oct 8 15:58:03 UTC 2008
Package: matplotlib
Version: 0.98.1-1+lenny1.1
Severity: grave
Tags: patch
The latest upload results in the following traceback:
Traceback (most recent call last):
File "/usr/bin/ipython", line 27, in
IPython.Shell.start().mainloop()
File "/var/lib/python-support/python2.5/IPython/Shell.py", line 1220, in start
return shell(user_ns = user_ns)
File "/var/lib/python-support/python2.5/IPython/Shell.py", line 1095,
in __init__
shell_class=MatplotlibMTShell)
File "/var/lib/python-support/python2.5/IPython/Shell.py", line 780, in __init__
> File "/var/lib/python-support/python2.5/IPython/ipmaker.py", line 103, in make_IPython
embedded=embedded,**kw)
File "/var/lib/python-support/python2.5/IPython/Shell.py", line 626, in __init__
user_ns,b2 = self._matplotlib_config(name,user_ns)
File "/var/lib/python-support/python2.5/IPython/Shell.py", line 558,
in _matplotlib_config
import matplotlib.pylab as pylab
File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line 204, in
from matplotlib import mpl # pulls in most modules
File "/usr/lib/python2.5/site-packages/matplotlib/mpl.py", line 2, in
from matplotlib import axis
File "/usr/lib/python2.5/site-packages/matplotlib/axis.py", line 13, in
import matplotlib.text as mtext
File "/usr/lib/python2.5/site-packages/matplotlib/text.py", line 19, in
import matplotlib.nxutils as nxutils
ImportError: /usr/lib/python2.5/site-packages/matplotlib/nxutils.so:
undefined symbol: __gxx_personality_v0
The fix is to do build using gcc, as was done earlier:
--- debian/rules (revision 6644)
+++ debian/rules (working copy)
@@ -26,7 +26,7 @@
build-stamp-%:
dh_testdir
- CC=g++ python$* ./setup.py build $(PY_BUILD_FLAGS)
+ python$* ./setup.py build $(PY_BUILD_FLAGS)
touch $@
Thanks.
Kumar
--
Kumar Appaiah
More information about the Python-modules-team
mailing list