You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Axel Podehl <ax...@gmail.com> on 2017/09/25 12:54:36 UTC

Re: build activemqcpp embedding apr1/apr-util-1 static libraries (Linux)

I had the same error, and I'm not sure if it helps, but in my case it was
the, somewhat foolish, mistake to add the libraries in the wrong order. Make
sure you FIRST have activemq and THEN apr.

For example:

    gcc -g main.o ${ACTIVEMQ}/lib/64/libactivemq-cpp.a
${APR}/lib/64/libapr-1.a -lstdc++ -lssl -lpthread -ldl -lcrypto -o main



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html