Subject: Re: cannot find OpenSSL in RHEL3 when configure libssh2

Re: cannot find OpenSSL in RHEL3 when configure libssh2

From: Paul Howarth <paul_at_city-fan.org>
Date: Thu, 28 Jul 2011 21:30:44 +0100

On Fri, 29 Jul 2011 00:05:22 +0800
Aaron Tang <twwbooleana_at_gmail.com> wrote:

> Hi,
> When I configure libssh2 before compiling, it alway reported
> "configure: error: cannot find OpenSSL or Libgcrypt" no matter I
> specified the --with-libssl-prefix option or not.
> And I checked there is OpenSSL 0.9.7a installed in /usr.

Try this before running configure:

export CPPFLAGS="$(pkg-config --cflags openssl)"

Or you could just use my libssh2 build, which you can find here:
http://mirror.city-fan.org/ftp/contrib/libraries/

Paul.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-07-28