Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Configuring the build so:
cmake -DSSL_IMPL=none -DSASL_IMPL=none ...
Or not having developer versions of the openssl and cyrus-sasl libraries installed causes the c++ binding library build to fail:
[14/109] Linking CXX shared library proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0
{{FAILED: proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0 }}
: && /usr/lib64/ccache/c++ fPIC -fvisibility=hidden -O2 -g -DNDEBUG -Wl,-no-undefined -shared -Wl,-soname,libqpid-proton-cpp.so.11 -o proton-c/bindings/cpp/libqpid-proton-cpp.so.11.1.0 proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/binary.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/byte_array.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/map.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection_driver.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/connection_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/container.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/proactor_container_impl.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/contexts.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/data.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/decimal.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/decoder.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/delivery.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/duration.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/encoder.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/endpoint.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/error.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/error_condition.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/handler.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/link.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/link_namer.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/listener.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/message.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/messaging_adapter.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/node_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/object.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/proton_bits.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/receiver.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/receiver_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/reconnect_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/returned.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sasl.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/scalar_base.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sender.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/sender_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/session.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/session_options.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/source.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/ssl.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/ssl_domain.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/target.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/terminus.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/timestamp.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/tracker.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/transfer.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/transport.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/type_id.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/url.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/uuid.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/value.cpp.o proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/work_queue.cpp.o -Wl,-rpath,/home/andrew/Work/proton/bld-nossl-nosasl/proton-c: proton-c/libqpid-proton-proactor.so.1.1.0 proton-c/libqpid-proton-core.so.10.2.0 && :
proton-c/bindings/cpp/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