Configure unable to find libgcrypt

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?

4 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
7

Try this (it works for Ubuntu 15.10 64 bit)

wget ftp://
sudo dpkg -i libgcrypt11_1.5.0-5+deb7u3_amd64.deb

If you are using centOS install libcrypt-devel:

sudo yum install libgcrypt-devel
1

For ubuntu(works for me)

Try to download the package first, download links, note choose the right architecture.

there take amd64 as an example.first we get the link address

On ubuntu, we download the package

wget 

then install it

sudo dpkg -i libgcrypt11-dev_1.5.4-3+really1.8.1-4ubuntu1.3_amd64.deb

Maybe there are other dependencies need to install. you can choose to install it one by one, or follow the tips

sudo apt --fix-broken install

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like