Skip to content

libstdc++ library provided by conda is incompatible (in linux) #243

Description

@jeskesen

When following this tutorial, the zarr driver throws the following error.

/home/runner/work/acquire-python/acquire-python/acquire-libs/acquire-core-libs/src/acquire-core-platform/linux/platform.c:380 - lib_open(): Failed to load /home/jge/.conda/envs/acquire-released/lib/python3.10/site-packages/acquire/libacquire-driver-zarr.so. Error: /home/jge/.conda/envs/acquire-released/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/jge/.conda/envs/acquire-released/lib/python3.10/site-packages/acquire/libacquire-driver-zarr.so)
/home/runner/work/acquire-python/acquire-python/acquire-libs/acquire-core-libs/src/acquire-device-hal/device/hal/loader.c:112 - driver_load(): Failed to load driver at "acquire-driver-zarr".

I googled the error and found this page which describes it fairly accurately. The page sites a number of different workarounds. I didn't try them all, but the one that worked for me was this one.

I'm using Ubuntu 22.04, and I've installed conda via their apt repository.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions