Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xanoni opened this issue Nov 2, 2021 · 1 comment

Comments

@xanoni
Copy link

xanoni commented Nov 2, 2021

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
@xanoni
Copy link
Author

xanoni commented Nov 2, 2021

(to clarify, I'm not seeking help ... I just posted this in case others are running into the same issue)

Repository owner deleted a comment from wxzzzz Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant