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
transmission 4.03 does not start on arm7-k2.6 #953
Comments
The root cause of the problem is that the function dht_random_bytes is not available in libdht. The source file dht-example.c must be compiled and linked to the library as shown below.
|
updated libdht package - https://test.entware.net/armv7sf-k2.6/libdht_2022-04-27-11123089-1a_armv7-2.6.ipk |
I tested it with x86-2.6. Can you please update the libdht package for all architectures? |
It looks like only 2 architectures (k2.6) need this. |
I checked bin.entware.net and found libdht in all architectures. As long as libdht is used it shall be build with dht-example.c. Otherwise some symbols which are exported by dht.h are not available. This was the reason why transmission didn't start. |
tr-dht.cc (transmission sources) has dht_random_bytes function. For some reasons it is not used in two architectures (for old kernels). |
I just tested Entware arm7-k2.6. With libdht from the repo transmission-daemon doesn't start. After the installation of https://test.entware.net/armv7sf-k2.6/libdht_2022-04-27-11123089-1a_armv7-2.6.ipk transmission-daemon is running. |
IMHO а better approach to solve the issue is to link libdht statically (as in transmission 3 and earlier versions). |
Fixed via Entware/entware-packages@fb12474 |
The problem is discussed here - https://www.snbforums.com/threads/transmission-stopped-working.84082/post-849863
The temporary solution is to disable dht.
The text was updated successfully, but these errors were encountered: