Open Thro42 opened 2 years ago
Most probably it loaded the wrong architecture.
I tride also "./coap-client-arm" but result is
-bash: ./coap-client-arm: No such file or directory
I build now my own coap-client with
sudo apt-get install libtool autoconf automake
git clone --recursive https://github.com/obgm/libcoap.git
cd libcoap
git checkout dtls
git submodule update --init --recursive
./autogen.sh
./configure --disable-documentation --disable-shared --with-openssl --disable-test --disable-examples
make
I will test and give respose
I put a recompiled version of coap-client-aarch64 in my repository https://github.com/Thro42/diyHue. For me this works correctly
GitHubMain diyHue software repo. Contribute to Thro42/diyHue development by creating an account on GitHub.
Hi,
Can you create a pull request with your binary? I think we miss the arm64 version and now arm64 is default for raspberry PI
May I ask why these binaries are pushed in this repository in the first place?
Shouldn't be an apt install libcoap2-bin
on debian be enough to obtain coap-client
?
this package was not available at the moment when we added support for Tradfri Gateway device. we need to be sure before we edit the install script that this package is available on Ubuntu and Raspbian for Raspberry PI.
this package was not available at the moment when we added support for Tradfri Gateway device. we need to be sure before we edit the install script that this package is available on Ubuntu and Raspbian for Raspberry PI.
Ah, I see. Yes, the package is available for Ubuntu, Debian as well as Raspbian. I will open a draft PR soon :)
Edit: there it is https://github.com/diyhue/diyHue/pull/887
Describe the bug
It seams the the coap-client not works on Raspberry Pi OS bullseye (64-bit). I god the Message ./coap-client-linux: error while loading shared libraries: libcoap-1.so.0: cannot open shared object file: No such file or directory Known that the setup copy the version coap-client-aarch64 to coap-client-linux so I try tu use coap-client-i686 and it shows the same message.
Steps to Reproduce
cd /opt/hue-emulator ./coap-client-linux