Building for CygWin without OpenSSL fails

Corinna Vinschen vinschen at redhat.com
Wed Mar 4 06:50:28 AEDT 2015


On Mar  4 05:23, Damien Miller wrote:
> On Tue, 3 Mar 2015, John Dow wrote:
> 
> > Ok, I think I've figured that out. I used 6.7 stable and it was wrong.
> > Now I took 6.8 from master and configure --without-openssl went fine.
> > But now when make I see
> > ...
> > openbsd-compat//libopenbsd-compat.a(xcrypt.o): In function `xcrypt':
> > /cygdrive/c/openssh-portable-master/openbsd-compat/xcrypt.c:83:
> > undefined reference to `crypt'
> > /cygdrive/c/openssh-portable-master/openbsd-compat/xcrypt.c:83:(.text+0x5):
> > relocation truncated to fit: R_X86_64_PC32 against undefined symbol
> > `crypt'
> > 
> > 
> > I tried to do
> > 
> > ./configure --without-openssl --with-ldflags=-lcrypt
> 
> Try "--with-libs=-lcrypt"
> 
> we do try to detect libcrypt already, so if this works then something
> else has gone wrong. Do you have the cygwin-crypt package installed?

If that's on x86_64 Cygwin, the libcrypt-devel package is required
for building against libcrypt.  On 32 bit the package is still not
split, so the crypt package alone is sufficent.


HTH,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150303/68863c4e/attachment-0001.bin>


More information about the openssh-unix-dev mailing list