Closed lopezvg closed 2 years ago
I will need some help to understand if libatomic is present or not on those OSs. If it is not present, any chance they are installed for now (as a workaround)?
I have not found the way to check nor install a package in Libreelec. It does not have any package magement.
I'm afraid you'll have to build the binary linking libatomic as static library
Can you connect via SSH?
Yes, I did, but Linux "apt" command, or similar, does not exist
Can you do a find for atomic please?
find / -name ”*atomic*"
Sorry, a busy day...
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################
LibreELEC (official): 10.0.2 (RPi4.arm)
RPI3:~ # find / -name "*atomic*"
/sys/kernel/tracing/events/nfs/nfs_atomic_open_enter
/sys/kernel/tracing/events/nfs/nfs_atomic_open_exit
/sys/kernel/debug/tracing/events/nfs/nfs_atomic_open_enter
/sys/kernel/debug/tracing/events/nfs/nfs_atomic_open_exit
/sys/fs/f2fs/features/atomic_write
RPI3:~ #
No worries. Ok, I'll generate a few new binaries for you to test during the weekend. In case you want to play around with it, you just need to add a case for linux-armv7 on https://github.com/i96751414/torrest-cpp/blob/master/docker/Makefile#L53
Then simply make torrest-linux-armv7
I have tried unsuccessfully.
Maybe I'm doing something wrong...
Can you try with -latomic?
You can also try eventually -Wl,-Bstatic -latomic
Nothing works...
We might be setting them in the wrong place. Please try -DCMAKE_CXX_FLAGS_RELEASE=-latomic
I think I got it: torrest.zip
It works ok in both LibreElec and CoreElec, however there is a stange behaviour in managing Magnets that I need to test further. Downloads from magnets is increasingly important.
What worked? My binary? In regard to magnets, please open an issue in torrest-cpp project if you find a bug - I've tested and it worked so far.
Yes, your binary works