C-Otto / rebalance-lnd

A script that can be used to balance lightning channels of a lnd node
MIT License
343 stars 82 forks source link

Errors with Mynode #253

Closed sund closed 2 years ago

sund commented 2 years ago

Cloned and ran pip install -r requirements.txt on MyNode 0.2.50 fine.

Running the script gives error:

python3 ./rebalance.py Traceback (most recent call last): File "./rebalance.py", line 11, in <module> from lnd import Lnd File "/home/admin/rebalance-lnd/lnd.py", line 7, in <module> import grpc File "/home/admin/.local/lib/python3.8/site-packages/grpc/__init__.py", line 22, in <module> from grpc import _compression File "/home/admin/.local/lib/python3.8/site-packages/grpc/_compression.py", line 15, in <module> from grpc._cython import cygrpc ImportError: /lib/arm-linux-gnueabihf/libc.so.6: versionGLIBC_2.33' not found (required by /home/admin/.local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so) `

Looks like my libc is old:

lrwxrwxrwx 1 root root 12 Sep 8 04:51 /lib/arm-linux-gnueabihf/libc.so.6 -> libc-2.28.so

MyNode is: lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster

Wondering is there a easy/quick fix?

C-Otto commented 2 years ago

I don't know Rasbian nor Mynode. Debian "buster" is the old stable version, maybe it helps to update to something more recent?