Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configure unable to find libgcrypt

Tags:

linux

centos

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?

like image 572
Amenda Avatar asked Aug 22 '11 16:08

Amenda


1 Answers

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
like image 138
janneb Avatar answered Oct 23 '22 06:10

janneb