Dear Sir ,
I am compiling libssh version 0.7.3 on Redhar linux from the source code
available on the website .
But I am getting the following error
#pwd
/root/libssh/libssh-0.7.3/cmake
# cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DWITH_ZLIB=ON
Turn GSSAPI OFF in your CMake command line..
ex:
cmake .. \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_ZLIB=ON \
-DWITH_GSSAPI=OFF \
-DWITH_PCAP=OFF \
-DOPENSSL_ROOT_DIR:FILEPATH=${OPENSSL_ROOT_DIR} \
You might be missing other headers.
Looking at the Fedora RPM .spec[1], I recommend installing these packages:
cmake
doxygen
openssl-devel
pkgconfig
zlib-devel
krb5-devel
libcmocka-devel
[1] http://pkgs.fedoraproject.org/cgit/rpms/libssh.git/tree/libssh.spec?h=f26
-Mike
On Mon, Mar 27, 2017 at
Hi Nitesh,
you don't have the OpenSSL development headers installed. They should be
in package openssl-devel, or whatever it is named in RHEL.
Best regards
Tilo
Am 27.03.2017 um 06:25 schrieb Nitesh Srivastava:
>
>
> Hi All,
>
>
>
> We are getting below error while compiling the libssh