[EnMasse] Issue building qpid-proton on Fedora

Nandan Joshi njoshi at redhat.com
Thu Jan 18 00:51:02 UTC 2018


Following the instructions to build the qpid-proton language bindings for
Python (  http://qpid.apache.org/proton/ and follow the link for Installing
Qpid Proton), I get the following error.


 make install
[  1%] Built target generated_c_files
[ 13%] Built target qpid-proton-core
[ 31%] Built target qpid-proton
[ 32%] Built target qpid-proton-proactor
[ 33%] Built target msgr-send
[ 34%] Built target msgr-recv
[ 36%] Built target reactor-recv
[ 37%] Built target reactor-send
[ 38%] Linking CXX shared library libqpid-proton-cpp.so
CMakeFiles/qpid-proton-cpp.dir/src/proactor_container_impl.cpp.o: In
function `std::thread::thread<void (proton::container::impl::*)(),
proton::container::impl*>(void (proton::container::impl::*&&)(),
proton::container::impl*&&)':
/usr/include/c++/7/thread:126: undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[2]: ***
[proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/build.make:1397:
proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1886:
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Anyone run into this? On Fedora 26. Looks like the compiler needs a
-pthread option. Not sure where to specify.

Any help or pointers greatly appreciated.

Regards,

Nandan Joshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/enmasse/attachments/20180117/c1a281da/attachment.htm>


More information about the enmasse mailing list