Skip to content

Configure fails with commit 88a960a codebase  #1186

Closed

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

Activity

  1. added a commit that references this issue on Sep 21, 2023
    5b3cd75
  2. vszakats commented on Sep 21, 2023

    @vszakats
    Member

    Thanks for your report. This should be fixed by #1187.

  3. vszakats commented on Sep 21, 2023

    @vszakats
    Member

    A workaround that might also work is dropping --with-crypto=wincng. WinCNG is the default for Windows targets, and cross-builds don't auto-detect other backends most of the time.

  4. added a commit that references this issue on Oct 26, 2023
    cb456fd
  5. added 2 commits that reference this issue on Dec 19, 2023
    81e0e8d
    4ee4846
  6. added a commit that references this issue on Mar 28, 2024
    00a3b88
  7. added a commit that references this issue on Jul 14, 2024
    a06d733
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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