Skip to content

Undefined Symbol Error On Ubuntu #6797

@JonnoFTW

Description

@JonnoFTW

I'm using the latest source version version of matplotlib (I get the same error using version 2.0.0b3 from pypi). I'm running python 2.7.12 on 64 bit compiled with ucs4 and shared libraries using pyenv.

I get the following error when I try to import matplotlib.pyplot:

Python 2.7.12 (default, Jul 19 2016, 15:29:32) 
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/pyplot.py", line 29, in <module>
    import matplotlib.colorbar
  File "/home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/colorbar.py", line 32, in <module>
    import matplotlib.artist as martist
  File "/home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/artist.py", line 15, in <module>
    from .transforms import (Bbox, IdentityTransform, TransformedBbox,
  File "/home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/transforms.py", line 38, in <module>
    from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: /home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/_path.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE

Am I somehow missing a library or using the wrong library? Running ldd on _path.so gives the following output:

$ ldd /home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/python2.7/site-packages/matplotlib-2.0.0b3+1804.ge3fd1b1-py2.7-linux-x86_64.egg/matplotlib/_path.so
    linux-vdso.so.1 =>  (0x00007fff4c9f3000)
    libpython2.7.so.1.0 => /home/CSEM/mack0242/.pyenv/versions/2.7.12/lib/libpython2.7.so.1.0 (0x00007f8f77bf1000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8f779db000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8f777bd000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8f773f8000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8f771f4000)
    libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f8f76ff1000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8f76ceb000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8f78242000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions