Hi all,
I have what seems to be a small error trying to reference a function in the compiled tk backend which doesn’t exist in the shared object (See stack trace below). I’m running on a 64-bit system.
Has anyone else had this issue? Google didn’t reveal a lot to me (searching for “undefined symbol: XCreateIC” exact phrase yielded 2 results, neither very enlightening for me.
python -c import matplotlib; print matplotlib.__version__
:
0.99.3
To repeat this error (for me), simply run
python -c ‘import pylab’
Traceback (most recent call last):
File “”, line 1, in
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/pylab.py”, line 1, in
from matplotlib.pylab import *
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/pylab.py”, line 247, in
from matplotlib.pyplot import *
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/pyplot.py”, line 78, in
new_figure_manager, draw_if_interactive, show = pylab_setup()
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/backends/init.py”, line 25, in pylab_setup
globals(),locals(),[backend_name])
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/backends/backend_tkagg.py”, line 8, in
import tkagg # Paint image to Tk photo blitter extension
File “/home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/backends/tkagg.py”, line 1, in
import _tkagg
ImportError: /home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/backends/_tkagg.so: undefined symbol: XCreateIC
import tkagg
Output from --verbose:
CONFIGDIR=/home/ho/nmc/tjl/.matplotlib
matplotlib data path /home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/mpl-data
loaded rc file /home/ho/nmc/tjl/nltk/lib/python2.6/site-packages/matplotlib/mpl-data/matplotlibrc
matplotlib version 0.99.3
verbose.level helpful
interactive is False
units is False
platform is linux2
Using fontManager instance from /home/ho/nmc/tjl/.matplotlib/fontList.cache