question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cocotb-config failes due to errors in libgpi

See original GitHub issue

Hi, 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:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
aviadbcommented, Jan 25, 2022

@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.

0reactions
WSEmmacommented, Jan 25, 2022

Has your question been resolved?I have met the same question

Read more comments on GitHub >

github_iconTop Results From Across the Web

Library Reference — cocotb 1.7.2 documentation
Exception showing that the test was completed with severity Error. Deprecated since version 1.5: Raise a standard Python exception instead.
Read more >
cocotb/Lobby - Gitter
I suspect it might be because of the way cocotb connects the python code with the simulator it's using. How could I study...
Read more >
python-cocotb - Coroutine Co-simulation Test Bench
Bug 1747574 - Review Request: python-cocotb - Coroutine ... cocotb-config cocotb.src: W: spelling-error Summary(en_US) Coroutine -> Co ...
Read more >
cocotb Documentation - Read the Docs
include $(shell cocotb-config --makefiles)/Makefile.inc ... Exception showing that test was completed with severity Error.
Read more >
cocotb-config: command not found - Super User
Related. 1 · Makefile Backup Target · 13 · Setting up PostgreSQL gives error sudo: initdb: command not found · 3.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found