Building for CygWin without OpenSSL fails

John Dow gibsonmic at gmail.com
Wed Mar 4 14:16:48 AEDT 2015


Thanks a lot, that worked

2015-03-04 0:50 GMT+05:00 Corinna Vinschen <vinschen at redhat.com>:
> 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
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>


More information about the openssh-unix-dev mailing list