[zeromq-dev] New to 0MQ: examples core dump with Illegal instruction

Kenneth Adam Miller kennethadammiller at gmail.com
Fri Aug 14 13:19:52 CEST 2015

Can you run: file on the libzmq .so library that was installed by your apt
command and tell the output here? It may be that the target that was
compiled for is not suitable for your architecture.
On Aug 12, 2015 5:14 PM, "Kelly Beard" <kenverybigliar at gmail.com> wrote:

> Running on a Raspberry Pi 2 with Raspbian (Debian Wheezy).
> Did a "apt-get install libzmq3-dev"
> git cloned the zguide stuff and hopped over to the C++ examples folder.
> g++ --version reports 4.6.3
> Simply did a "g++ -g hwserver.cpp -o hwserver -lzmq" and no problems with
> that.
> If I run hwserver, program immediately core dumps with "illegal
> instruction".  I even a cout print statement before the first call to the
> context_t constructor - nothing but cores all day long.
> Searched Gmane and archives but nothing yet.
> ???
> --
> Kelly Beard
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150814/6a7272f5/attachment.htm>

More information about the zeromq-dev mailing list