lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 414 forks source link

aarch64 AppImage #4562

Open mkazlauskas opened 4 years ago

mkazlauskas commented 4 years ago

Is your feature request related to a problem? Please describe. I'd like to run LBRY on a PinePhone

Describe the solution you'd like Add build for aarch64 AppImage

Describe alternatives you've considered deb would be fine as well, but AppImage would be easier to run on all distros

kodxana commented 4 years ago

I managed to build armhf based .appimage . Curently I had to manually compile SDK for it (both app and daemon). Fell free to test if this will work :) . Hope to get some screenshots ;) Know bugs: it will show daemon incompatible 👯 PS: Treet it as experimental build https://transfer.sh/i7JTE/LBRY_0.47.0.AppImage

mkazlauskas commented 4 years ago

Thanks @kodxana . Doesn't run unfortumately. I think it's because armhf is ARMv7 and aarch64/arm64 is ARMv8. Although they are supposed to be backwards compatible, it's trying to use libraries that don't exist. Installed libc6-armhf-cross to get around initial error, but then got stuck with it not being able to find libz.so which doesn't seem to exist for arm in Debian repos.

kodxana commented 4 years ago

@mkazlauskas Also problem might be that LBRY-SDK is also compiled for armhf cpu. Would need to build lbry-sdk on arm64 based device to make it work :)

kodxana commented 4 years ago

@mkazlauskas I hope that will be usefull :) https://open.lbry.com/@LBRYarm:5?r=4NEoTj3KTFFk6tJD8uoqv3G6ztBudVFs

FoundOne commented 3 years ago

I could not manage to build the SDK for Manjaro-arm. It's something to do with the python dependencies.

ghost commented 2 years ago

I could not manage to build the SDK for Manjaro-arm. It's something to do with the python dependencies.

I have had the very same issues, though I managed to build LBRY successfully for ARM64 and made it work.

how I did it:

English build guide for LBRY on ARM64: https://dpaste.com/DZA578LS5 German build guide for LBRY on ARM64: https://dpaste.com/E87SJUBR4

built project: https://anonfiles.com/B7C7tb0dy1/linux-arm64-unpacked.tar_gz

The AppImage I built, sadly fails to launch due to a missing libz but the linux-arm64-unpacked directory is there and LBRY is working. You may be able to build a better AppImage, I did not focus on making the AppImage work.