Skip to content

Configure fails with commit 88a960a codebase  #1186

@jackL999

Description

@jackL999

Describe the bug
Configure fails with commit 88a960a codebase producing the error message,

configure: ERROR: No wincng crypto library found!

Specify --with-crypto=$backend and/or the necessary library search prefix.

Known crypto backends: auto, openssl, libgcrypt, mbedtls, wincng, wolfssl
configure: error: Required dependencies are missing.

To Reproduce
executing the following command from the added subdirectory build and with $PREFIX exported to a known directory,
CC=x86_64-w64-mingw32-gcc .././configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32 --prefix=$PREFIX --disable-shared --enable-static --with-crypto=wincng --with-libz-prefix=$PREFIX LIBS=-lws2_32

Expected behavior
The latest release version 1.11.0 of the library works fine with no configure errors. The cryto backend wincing is found and the library compiles as expected

Version (please complete the following information):

  • OS Arch Linux up-to-date rolling version
  • libssh2 version commit 88a960a codebase
  • crypto backend and version: wincng

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions