ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found on Ubuntu16.04
sunjiahao1999 opened this issue · 4 comments
IMPORTANT: Please use the following template to report the bug.
Before submitting:
- Search for similar issues.
- For Python issues, please test with the latest development wheel. It may be already fixed!
Describe the bug
'''import open3d''' get wrong on Ubuntu16.04 and report '''ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found ...'''
But on Ubuntu 18.04 is ok.
I have no root do change the Operating system
How to solve it?
To Reproduce
Steps to reproduce the behavior:
- python -c 'import open3d'
- See error
Environment (please complete the following information):
- Operating system:Ubuntu 18.04 & Ubuntu16.04
- Python 3.8
- Open3D version: 0.13.0
- Is this remote workstation?: yes
- How did you install Open3D?: pip
- Compiler version (if built from source): gcc 7.5
Hi, this is expected. The Open3D Python wheel is compiled on 18.04 and thus any Ubuntu >= 18.04 will work. On 16.04, you'll need to compile Open3D from source. See http://www.open3d.org/docs/latest/compilation.html.
@sunjiahao1999 BTW, if you really want to hack around it, try:
- Copying the missing
.so
file from Ubuntu 18.04 to the new OS. - Modify the
__init__.py
to load the.so
before loading the Open3D pybind.so
.
I built recent open3d (0.14.1) on manylinux 2014, available for python 36/37/38/39/310: https://gist.github.com/district10/c9d3e2a353b3435a5545b80bf7aba746?permalink_comment_id=4062841#gistcomment-4062841
Or, checkout this repo: https://github.com/cubao/Open3D/tree/v0.15.1-wheels. (0.14, 0.15, 0.16, 0.17)
Hope this helpful.
Related: #2037
I also built one for 0.17.0. : https://github.com/quantaji/open3d-manylinux2014/tree/main