From: rob.r374 at gmail.com <rob.r374@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] OpenSSL & Mosquitto on ARM Cortex M7
Date: Mon, 19 Oct 2020 02:20:00 +0200 [thread overview]
Message-ID: <01b901d6a5ad$95b9df00$c12d9d00$@gmail.com> (raw)
Hello,
I'm trying to include Mosquitto with OpenSSL support on Buildroot.
On working Buildroot basic build, I've added packages and setup static libs
:
BR2_PACKAGE_LIBOPENSSL=y
BR2_PACKAGE_MOSQUITTO=y
BR2_PACKAGE_MBEDTLS=y
BR2_STATIC_LIBS=y
If I try to run Mosquitto tools (and MbedTLS test), I get :
~ # mosquitto_pub
binfmt_flat: reference 0xffb4d0 to shared library 127, killing
mosquitto_pub!
SEGV
~ # mosquitto_sub
Error: You must specify a topic to subscribe to.
Use 'mosquitto_sub --help' to see usage.
~ # ssl_client2
sh: can't execute 'ssl_client2': No such file or directory
It's weird, because mosquitto_pub complains about shared lib, but I have
defined static libraries only (at least I think so).
In addition, mosquitto_sub works, but it seems it doesn't receive SSL
related arguments - seems like it was not compiled with OpenSSL lib.
Also, ssl_client2 or other tools from MbedTLS cannot be found.
How to solve those problems ?
Also I'm not sure how to check for each package - compilation, installation,
errors, warnings etc.
Regards,
Rob.
--
Ta e-po?ta je bila pregledana z Avast protivirusnim programom.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201019/40f70705/attachment.html>
next reply other threads:[~2020-10-19 0:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 0:20 rob.r374 at gmail.com [this message]
2020-10-19 19:11 ` [Buildroot] OpenSSL & Mosquitto on ARM Cortex M7 Peter Seiderer
2020-10-25 10:33 ` RR
2020-10-25 21:21 ` Peter Seiderer
2020-10-27 7:41 ` RR
2020-10-27 22:07 ` Peter Seiderer
2020-10-28 1:30 ` rob.r374 at gmail.com
2020-11-02 10:33 ` RR
2020-11-02 16:37 ` Peter Seiderer
2020-11-08 9:45 ` RR
2020-11-14 11:51 ` rob.r374 at gmail.com
2020-10-20 11:53 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='01b901d6a5ad$95b9df00$c12d9d00$@gmail.com' \
--to=rob.r374@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox