Skip to content
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

armv6-alpine-linux-musleabihf/bin/ld: cannot find -lws2811 #138

Open
braghettos opened this issue Mar 20, 2020 · 0 comments
Open

armv6-alpine-linux-musleabihf/bin/ld: cannot find -lws2811 #138

braghettos opened this issue Mar 20, 2020 · 0 comments

Comments

@braghettos
Copy link

Hi Pimoroni team,

I'm trying to build all the libraries needed but I encounter the error that the library ws2811 is not available. I'm working in an Alpine Docker container on a Raspberry Pi Zero. Who can I fix this?

Step 10/16 : RUN cd unicorn-hat/library/legacy/rpi-ws281x/ && pwd && ls -la && python3 setup.py build
 ---> Running in ec5232273e8b
/usr/src/node-red/unicorn-hat/library/legacy/rpi-ws281x
total 196
drwxr-xr-x    3 root     root          4096 Mar 20 10:47 .
drwxr-xr-x    1 root     root          4096 Mar 20 10:47 ..
-rw-r--r--    1 root     root            95 Mar 20 10:47 MANIFEST.in
-rw-r--r--    1 root     root           139 Mar 20 10:47 Makefile
-rw-r--r--    1 root     root          2656 Mar 20 10:47 README.md
drwxr-xr-x    2 root     root          4096 Mar 20 10:47 lib
-rw-r--r--    1 root     root          5779 Mar 20 10:47 neopixel.py
-rw-r--r--    1 root     root          1206 Mar 20 10:47 rpi_ws281x.i
-rw-r--r--    1 root     root          7431 Mar 20 10:47 rpi_ws281x.py
-rw-r--r--    1 root     root        150427 Mar 20 10:47 rpi_ws281x_wrap.c
-rwxr-xr-x    1 root     root          1257 Mar 20 10:47 setup.py
running build
running build_py
Compiling ws281x library...
creating build
creating build/lib.linux-armv6l-3.8
copying neopixel.py -> build/lib.linux-armv6l-3.8
running build_ext
building '_rpi_ws281x' extension
creating build/temp.linux-armv6l-3.8
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ilib/ -I/usr/include/python3.8 -c rpi_ws281x_wrap.c -o build/temp.linux-armv6l-3.8/rpi_ws281x_wrap.o
gcc -shared -Wl,--as-needed -Wl,--as-needed build/temp.linux-armv6l-3.8/rpi_ws281x_wrap.o -Llib/ -L/usr/lib -lws2811 -o build/lib.linux-armv6l-3.8/_rpi_ws281x.cpython-38-arm-linux-gnueabihf.so
/usr/lib/gcc/armv6-alpine-linux-musleabihf/9.2.0/../../../../armv6-alpine-linux-musleabihf/bin/ld: cannot find -lws2811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant