I have finally been able to resolve this issue. It turns out I needed to change a CMakeLists file in the openwsman library.
What I needed to change are the libraries linked with libwsman_curl_client_transport
. To fix the issue open the file src/lib/CMakeLists.txt
(assuming you are located in openwsman base directory) and change the line that looks like:
TARGET_LINK_LIBRARIES( wsman_curl_client_transport ${CURL_LIBRARIES})
To
TARGET_LINK_LIBRARIES( wsman_curl_client_transport ${CURL_LIBRARIES} ssl crypto)
In the openwsman distribution I have downloaded(openwsman2.3.0) this is line 53 of the file described.
In what I do here is I tell the given library to be linked with crypto and ssl too and this resolves the linker errors.
Hope this answer helps someone to resolve this issue way faster than I did.