-
Notifications
You must be signed in to change notification settings - Fork 53
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
flicd is not working on AlpineLinux #69
Comments
What does lscpu print? |
Hi, lscpuArchitecture: armv7l |
Hmm not really sure why this happens. Could you try use the full path instead of ./ |
And Exactly which download did you pick when you downloaded AlpineLinux? |
I have a build created by home assistant: https://home-assistant.io/hassio/installation/ The build allow me just to run application in docker container, maybe it is necessary to add some specific components in the container. |
Not sure how easy it is to forward the hci device to the docker environment. Do you really need to use Docker? |
I have already done the docker container to run it, but I'm not sure if the problem is the Docker container or the OS. If the software need some specific library or other software to work I can handle it, but i need to know the list. |
It doesn't need anything else than a Linux kernel, libc, network connection and Bluetooth hci device. Could you run "file /bin/bash" and print the output. Or "file [some other binary]"? It should print a lot of things about the cpu and binary format. |
I have the same issue, it looks like that the Raspberry binary is not compatible with this distribution: here the output requested: /bin/bash: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, stripped, with debug_info |
Maybe it is because that distribution uses musl instead of glibc... |
3b0323706b6a:/config# /bin/bash /config/flicd -f db.sql |
well, possibly as you said, the only fix is to get a version compiled for using musl. |
Yes but that will take some time. I'm back from holiday in August. |
we can just wait :) |
Yes perfect thanks. |
Hello, have you got the time to compile the new binary? Thanks. |
Hello,
I have a problem to run flicd on my Raspberry Pi 3
0cd90890fd17:/etc/conf.d# cd /root/fliclib-linux-hci-master/bin/armv6l/
0cd90890fd17:
/fliclib-linux-hci-master/bin/armv6l# ls/fliclib-linux-hci-master/bin/armv6l# ./flicd -f flic.sqlite3 -l ./flic.outflicd
0cd90890fd17:
-ash: ./flicd: not found
0cd90890fd17:/addons/flicd# /bin/bash ./flicd -f pippo
./flicd: ./flicd: cannot execute binary file
0cd90890fd17:~/fliclib-linux-hci-master/bin/armv6l# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.6.1
PRETTY_NAME="Alpine Linux v3.6"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL=“http://bugs.alpinelinux.org”
Is the binary file incompatible with my of version or I'm doing something wrong?
I had this issue with the latest version of home-assistant.
Thanks for your support.
The text was updated successfully, but these errors were encountered: