-
Notifications
You must be signed in to change notification settings - Fork 574
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
Panic while trying to run cross compiled binary on Raspberry PI #254
Comments
You can't cross-compile Shiori, I'm afraid. cgo doesn't support cross-compilation, and SQLite requires cgo. I'd happily accept a PR that puts SQLite support behind a build tag, so Shiori can be cross-compiled (without SQLite support), but it's not something I consider a high priority myself. |
This image worked for me on my rpi4.
I'd love to make a PR for this but I'm not sure how to go about modifying the Dockerfile to support different platforms. From my research it sounds like using Reference: https://github.com/malitov/rpi-shiori Looks like this PR will integrate armv7 build: #278 |
I figured out another way to successfully compile the shiori Docker image on Raspberry Pi 4B (ARM, 32bit).
# build stage # server image
Then you can just follow the steps in the wiki to use the docker image: https://github.com/go-shiori/shiori/wiki/Usage#running-docker-container
I used a similar process to get wallabag to compile for Raspberry Pi 4B. References I followed, in case anyone else would like to build their own wallabag docker image:
Have fun! :) |
@sunrisepi Thanks, works perfectly! |
This issue has been automatically marked as stale because it has not had any activity for quite some time. |
Cross compiled binary for Raspberry PI panics on device with following error
The text was updated successfully, but these errors were encountered: