Deluge fails on Raspbian Bullseye
Bug #1945530 reported by
MichaIng
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Raspbian Bullseye, starting the Deluge daemon fails with the error message:
-------
ModuleNotFoundE
-------
despite the fact that python3-libtorrent and libtorrent-
A similar bug has been reported on Debian, but it was solved already: https:/
Probably the solution is not applicable on armv6hf or needs to be applied differently?
To post a comment you must log in.
The issue is still present, breaking Deluge effectively on Raspbian Bullseye. There is however a workaround available: https:/ /github. com/MichaIng/ DietPi/ issues/ 4944#issuecomme nt-978817579 /usr/lib/ arm-linux- gnueabihf/ libatomic. so.1 libtorrent" package. Indeed for armv7hf it is not required, but for armv6hf it is. On Debian, the armel and mipsel architecture packages have this dependency accordingly: https:/ /packages. debian. org/bullseye/ python3- libtorrent
-------
apt install libatomic1
export LD_PRELOAD=
-------
So the "libatomic1" package is a missing dependency of the "python3-
Raspbian however uses sources for armhf, hence armv7hf from Debian.
But the library is not automatically loaded, as it has not been linked. Hence it needs to be preloaded. Doing so for the whole interactive shell and all subshells is probably not desired, so this should be done within a wrapper script, sysvinit or systemd service. For the latter, adding LD_PRELOAD= /usr/lib/ arm-linux- gnueabihf/ libatomic. so.1
-------
[Service]
Environment=
-------
does the trick.