Skip to content

Module fails to import on CentOS 7 - version GLIBC not found #157

@JulieWinchester

Description

@JulieWinchester

It seems that PyMeshLab has been built to rely on a version of libstdc++ that is newer than what is available on CentOS 7.

Steps to reproduce (tested using a Digital Ocean CentOS 7 VM):

  1. sudo yum install freeglut freeglut-devel (to satisfy LibGL dependency)
  2. pip3 --user install pymeshlab
  3. Run python3 and execute import pymeshlab. Error received is:
Python 3.6.8 (default, Nov 16 2020, 16:55:22) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymeshlab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jmw110/.local/lib/python3.6/site-packages/pymeshlab/__init__.py", line 12, in <module>
    from .pmeshlab import *
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/jmw110/.local/lib/python3.6/site-packages/pymeshlab/pmeshlab.cpython-36m-x86_64-linux-gnu.so)

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