Alex Rivera | Logout

Configure unable to find libgcrypt

Asked 2011-08-22T16:10:29.130
10

hello i have faced problem with libgcrypt and i am sure is is installed with newst version thats happen when i try to install libssh2

[root@loft1034 libssh2-1.1]#./configure

configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
[root@loft1034 libssh2-1.1]# locate libgcrypt
/usr/lib/.libgcrypt.so.11.hmac
/usr/lib/libgcrypt.so.11
/usr/lib/libgcrypt.so.11.5.2
/usr/lib64/.libgcrypt.so.11.hmac
/usr/lib64/libgcrypt.so.11
/usr/lib64/libgcrypt.so.11.5.2
[root@loft1034 libssh2-1.1]#

i try to using prefix path with no benefit please help me?

Edit
Report

1 Answer

23

Install the package with the header files.

CentOS 6/7, perhaps Fedora:

sudo yum install -y libgcrypt-devel

Debian/Ubuntu:

sudo apt-get install -y libgcrypt11-dev
answered 2011-08-22T16:18:53.073

Your Answer