-
Notifications
You must be signed in to change notification settings - Fork 186
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
add script to build for Raspberry Pi 1 and Zero in docker image #202
base: master
Are you sure you want to change the base?
Conversation
curl -OL http://mirrordirector.raspbian.org/raspbian/pool/main/a/alsa-lib/libasound2-dev_1.0.25-4_armhf.deb | ||
ar p libasound2-dev_1.0.25-4_armhf.deb data.tar.gz | tar -xz -C /pi-tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot/ | ||
# i don't why this is neccessary | ||
ln -s ld-linux.so.3 /pi-tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/arm-bcm2708hardfp-linux-gnueabi/sysroot/lib/ld-linux-armhf.so.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would the expected source folder be for this? My builds still fail. And when I check the binary with ldd it would still complain about a missing ld-linux.so.3:
$ ldd spotty
libc.so.6 => /lib/libc.so.6 (0xb6981000)
ld-linux.so.3 => not found
libdl.so.2 => /lib/libdl.so.2 (0xb696e000)
librt.so.1 => /lib/librt.so.1 (0xb6957000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb692e000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6902000)
libm.so.6 => /lib/libm.so.6 (0xb6884000)
/lib/ld-linux-armhf.so.3 (0x7f61d000)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just figured I tested on a piCore system rather than Raspbian. Your librespot binaries would fail there, too. Most likely this is due to an un-met pre-condition in piCore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source folder is the same as target. Sorry that it doesn't work on piCore
Is there anything blocking this from being merged? It seems very reasonable. |
Fixes player initialization in the play.rs
build instructions for Raspberry Pi 1 and Zero have been requested multiple times
Raspberry Pi tools are needed for this case, see also first comments in #171