Closed GopherJ closed 4 years ago
Thank you for your bug report!
The key error here is:
/usr/bin/ld: /usr/lib/x86_64-linux-musl/libc.a(__stack_chk_fail.o): relocation R_X86_64_32 against `__stack_chk_guard' can not be used when making a shared object; recompile with -fPIC
It looks like the paho-mqtt-sys
crate does not support compiling against a musl-libc target, unfortunately. Adding support to paho-mqtt-sys
is likely to require several hours of experimenting with build flags. This would need to be done as part of the paho-mqtt-sys
project, since it includes the C code for Paho MQTT.
Thank you for the bug report!
What did you try to do? build a static binary using paho.mqtt.rust
Please include the steps you took, including the commands you ran in your terminal.
What happened?
What did you hope to happen? build a static binary with mqtt successfully
Does
./test-image
work? N/AAdditional information N/A
Is there anything else that we should know? N/A