libtorrent4j icon indicating copy to clipboard operation
libtorrent4j copied to clipboard

Support for Raspberry Pi

Open garwedgess opened this issue 1 year ago • 5 comments

Hi,

Just wondering if there are any arm builds for a raspberry pi, the architecture is armv7l

Thanks

garwedgess avatar May 01 '23 16:05 garwedgess

Hi @garwedgess , there is none, but I can work on one, no ETA. Are you waiting for it?

aldenml avatar May 01 '23 18:05 aldenml

Hey @aldenml, thanks for the response. I am but I can keep going without it for now. I don't expect it ASAP. I'm happy to wait because that would mean that I wouldn't have to scrap my project. So if you can work on it when you have some time it would be much appreciated.

garwedgess avatar May 01 '23 18:05 garwedgess

Hi @garwedgess, latest version maven artifact contains the binary for linux arm. Feel free to try it and report back if any problem. I'm closing this for now.

aldenml avatar May 20 '23 00:05 aldenml

Hey @aldenml , thanks for the build. I have tried it today but unfortunately, it still isn't working.

This is the output when running my application. Caused by: java.lang.UnsatisfiedLinkError: /libs/libtorrent4j.so: /libs/libtorrent4j.so: cannot open shared object file: No such file or directory

Just to be sure that it wasn't something to do with the library path that I have set, I tried the linux x86_64 library which seems to have been picked up since I got the following error:

Caused by: java.lang.UnsatisfiedLinkError: /libs/libtorrent4j.so: /libs/libtorrent4j.so: wrong ELF class: ELFCLASS64 (Possible cause: can't load AMD 64 .so on a ARM platform)

Strangely enough, when I run ldd libtorrent4j.so I get not a dynamic executable

Thanks, I appreciate the effort.

garwedgess avatar May 20 '23 10:05 garwedgess

Opening this to continue research

aldenml avatar May 20 '23 21:05 aldenml