Subject: Re: Unable to link with OpenSSL libraries under Cygwin

Re: Unable to link with OpenSSL libraries under Cygwin

From: Alex Rolfe <>
Date: Fri, 18 May 2012 00:41:10 -0400

$ ./configure --prefix=/usr/local/ssh2 --with-libssl-prefix=/usr/local/ssl
Below might be what you were looking for. I didnt see any configure options
to select one or the other, but I'll look around more and see what I can
figure out. I've attached config.log
Library types: Shared=yes, Static=yes

On Thu, May 17, 2012 at 11:57 PM, Peter Stuge <> wrote:

> Alex Rolfe wrote:
> > I'm having trouble building the library. I'm using libssh2-1.4.1 and
> > openssl-1.0.1c, and gcc v4.5.3 using Cygwin
> > I built the SSL library the other day, and it passed all its self-tests,
> > and links/runs fine with a basic test program.
> > When libssh2 tries to link with it, I get the following errors.
> Show the exact configure command that you ran for libssh2 along with
> the complete unedited output from the configure.
> > I'd appreciate any information, I'm not sure what the problem is.
> Shared vs. static linking.
> //Peter
> _______________________________________________
> libssh2-devel


Received on 2012-05-18