Subject: Cannot build libssh2

Cannot build libssh2

From: Hiran Chaudhuri <>
Date: Thu, 13 Sep 2012 19:35:56 +0200

Hello everybody.

While trying to compile libssh2 1.4.2 on Linux I am getting this error
message during configure:

checking for libssl... no
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH

While most hints and solutions on the internet mention that openssl-devel
should be installed I cannot since I built and installed openssl myself.
It resides in /ama/wh/bin/httpd-1447/openssl, and I inform the configure
script about it:
./configure --prefix=/ama/wh/bin/httpd-1447/libssh2 --with-openssl
--without-libgcrypt --with-libssl-prefix=/ama/wh/bin/httpd-1447/openssl

Still the error remains, and I am wondering what the script is actually
looking for. Could there be a bug as it might still try to find something
on the 'standard' path?

Thanks for any hint


Hiran Chaudhuri
System Support Programmer / Analyst
IT Service Assurance
Hosting & Regional Services (IH)
Amadeus Data Processing GmbH
Berghamer Strasse 6
85435 Erding
T: +49-8122-43x3662

IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for
the use of the individual or entity shown above as addressees. It may
contain information which is privileged, confidential or otherwise
protected from disclosure under applicable laws. If the reader of this
transmission is not the intended recipient, you are hereby notified that
any dissemination, printing, distribution, copying, disclosure or the
taking of any action in reliance on the contents of this information is
strictly prohibited. If you have received this transmission in error,
please immediately notify us by reply e-mail or using the address below
and delete the message and any attachments from your system.

Amadeus Data Processing GmbH
Geschäftsführer: Eberhard Haag
Sitz der Gesellschaft: Erding
HR München 48 199
Berghamer Strasse 6
85435 Erding


Received on 2012-09-13