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

Re: cannot find OpenSSL in RHEL3 when configure libssh2

From: Aaron Tang <twwbooleana_at_gmail.com>
Date: Fri, 29 Jul 2011 23:22:12 +0800

Thanks, it works

2011/7/29 Paul Howarth <paul_at_city-fan.org>

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