I am following the install guide and installed libssh without errors from the master branch. When trying to build libnetconf2, it is unable to find -lssh_threads.
The output of cmake ..
-- OPENSSL found, required for TLS
-- LIBSSH_VERSION_MAJOR not found in /usr/local/include/libssh/libssh.h, assuming libssh is too old
-- LibSSH version found
-- Missing tools (devscripts, debhelper package) for building DEB package.
-- Missing tools (rpm package) for building RPM package.
-- valgrind executable not found! Disabling memory leaks tests
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/libnetconf2/build
The error message during make (I only use the defaults):
[ 2%] Built target compat
[ 4%] Linking C shared library libnetconf2.so
/usr/bin/ld: cannot find -lssh_threads
collect2: error: ld returned 1 exit status
CMakeFiles/netconf2.dir/build.make:385: recipe for target 'libnetconf2.so.1.3.5' failed
make[2]: *** [libnetconf2.so.1.3.5] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/netconf2.dir/all' failed
make[1]: *** [CMakeFiles/netconf2.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Is this a known issue and is related to libnetconf2 or libssh?
I am following the install guide and installed libssh without errors from the master branch. When trying to build libnetconf2, it is unable to find -lssh_threads.
The output of cmake ..
The error message during make (I only use the defaults):
Is this a known issue and is related to libnetconf2 or libssh?