fdct2d_wrapper: undefined symbol __cxa_call_terminate
Opened this issue · 0 comments
martijnende commented
Hello,
I installed fftw==2.1.5
and CurveLab==2.1.3
, and tested the installation as laid out in the documentation (all tests passing). I then installed curvelops
in a dedicated conda environment as instructed here:
python -m pip install git+https://github.com/PyLops/curvelops@0.23
When loading curvelops
with import curvelops as cl
, I get:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[3], [line 2](vscode-notebook-cell:?execution_count=3&line=2)
[1](vscode-notebook-cell:?execution_count=3&line=1) import numpy as np
----> [2](vscode-notebook-cell:?execution_count=3&line=2) import curvelops as cl
File ~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:7
[1](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:1) """
[2](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:2) ``curvelops``
[3](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:3) =============
[4](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:4)
[5](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:5) Python wrapper for CurveLab's 2D and 3D curvelet transforms.
[6](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:6) """
----> [7](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:7) from .curvelops import *
[8](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:8) from .utils import *
[9](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/__init__.py:9) from .plot import *
File ~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:17
[14](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:14) from pylops import LinearOperator
[15](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:15) from pylops.utils.typing import InputDimsLike
---> [17](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:17) from .fdct2d_wrapper import * # noqa: F403
[18](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:18) from .fdct3d_wrapper import * # noqa: F403
[19](https://file+.vscode-resource.vscode-cdn.net/mnt/Pollux/scratchpad/~/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/curvelops.py:19) from .typing import FDCTStructLike
ImportError: /home/****/miniconda3/envs/curvelops/lib/python3.11/site-packages/curvelops/fdct2d_wrapper.cpython-311-x86_64-linux-gnu.so: undefined symbol: __cxa_call_terminate
Compiler versions: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
, g++ (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Output of conda list
:
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
bzip2 1.0.8 h5eee18b_6
ca-certificates 2024.9.24 h06a4308_0
contourpy 1.3.0 pypi_0 pypi
curvelops 0.23 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
fonttools 4.54.1 pypi_0 pypi
kiwisolver 1.4.7 pypi_0 pypi
ld_impl_linux-64 2.40 h12ee557_0
libffi 3.4.4 h6a678d5_1
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libstdcxx-ng 11.2.0 h1234567_1
libuuid 1.41.5 h5eee18b_0
matplotlib 3.9.2 pypi_0 pypi
ncurses 6.4 h6a678d5_0
numpy 2.1.2 pypi_0 pypi
openssl 3.0.15 h5eee18b_0
packaging 24.1 pypi_0 pypi
pillow 11.0.0 pypi_0 pypi
pip 24.2 py311h06a4308_0
pylops 2.3.1 pypi_0 pypi
pyparsing 3.2.0 pypi_0 pypi
python 3.11.10 he870216_0
python-dateutil 2.9.0.post0 pypi_0 pypi
readline 8.2 h5eee18b_0
scipy 1.14.1 pypi_0 pypi
setuptools 75.1.0 py311h06a4308_0
six 1.16.0 pypi_0 pypi
sqlite 3.45.3 h5eee18b_0
tk 8.6.14 h39e8969_0
tzdata 2024b h04d1e81_0
wheel 0.44.0 py311h06a4308_0
xz 5.4.6 h5eee18b_1
zlib 1.2.13 h5eee18b_1