Skip to content

cygrpc.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8 #235

@xanoni

Description

@xanoni

After updating from Raspbian Buster to Rasbian Bullseye (32-bit) I got the below error:

$ ./rebalance.py
Traceback (most recent call last):
  File "/home/user/rebalance-lnd/./rebalance.py", line 11, in <module>
    from lnd import Lnd
  File "/home/user/rebalance-lnd/lnd.py", line 7, in <module>
    import grpc
  File "/home/user/.virtualenvs/rebalance-lnd/lib/python3.9/site-packages/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
ImportError: /home/user/.virtualenvs/rebalance-lnd/lib/python3.9/site-packages/grpc/_cython/cygrpc.cpython-39-arm-linux-gnueabihf.so: undefined symbol: __atomic_exchange_8

The workaround:

LD_PRELOAD="/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0" ./rebalance.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions