isl-org / isl-org/Open3D

undefined symbol: __log10f_finite error when import source-built open3d

Open
#7,179 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### Steps to reproduce the issue

#### I first cloned Open3D by:
```
git clone https://github.com/isl-org/Open3D.git
cd Open3D
```

#### Then, I build Open3D (on Ubuntu 22.04, without CUDA) with:
```
mkdir build
cd build
cmake -DBUILD_CUDA_MODULE=OFF \
-DGLIBCXX_USE_CXX11_ABI=ON \
-DBUILD_PYTORCH_OPS=ON \
-DBUNDLE_OPEN3D_ML=ON \
-DOPEN3D_ML_ROOT=../../Open3D-ML \
..
make -j install-pip-package
```

### Error message

```shell
I successfully built and installed open3d-cpu by the command above, but when I execute "import open3d" in python, error occured as below:
Traceback (most recent call last):
File "", line 1, in
File "/root/miniconda3/envs/torch_env_py310/lib/python3.10/site-packages/open3d/__init__.py", line 100, in
from open3d.cpu.pybind import (
ImportError: /root/miniconda3/envs/torch_env_py310/lib/python3.10/site-packages/open3d/cpu/pybind.cpython-310-x86_64-linux-gnu.so: undefined symbol: __log10f_finite
```

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 22.04
- Python version: Python 3.10
- Open3D version: 0.19.0+da4d8fcdf
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 11.4.0
```

### Additional information

The error also occured when I compiled open3d without ml/pytorch_ops.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.