cocotb-config failes due to errors in libgpi
See original GitHub issueHi,
I installed cocotb version 1.6.0
using pip under my conda environment (python=3.9) on Fedora Linux x64.
When I execute cocotb-config
I get the following error:
Traceback (most recent call last): File "/home/aviadb/miniconda3/envs/cocotb/bin/cocotb-config", line 5, in <module> from cocotb.config import main File "/home/aviadb/miniconda3/envs/cocotb/lib/python3.9/site-packages/cocotb/__init__.py", line 43, in <module> import cocotb.handle File "/home/aviadb/miniconda3/envs/cocotb/lib/python3.9/site-packages/cocotb/handle.py", line 39, in <module> from cocotb import simulator ImportError: /home/aviadb/miniconda3/envs/cocotb/lib/python3.9/site-packages/cocotb/libs/libgpi.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv
Any ideas?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
@WSEmma The problem is with miniconda that installs outdated libraries under the the environment. You should point to your local library files. I.E. under your conda environment, find the faulty .so files, remove them and create a link to your local linux installation .so libs.
Has your question been resolved?I have met the same question