Skip to content

1.11.1 fails to build with "--without-libssl-prefix" #1505

Closed

Description

@lazka

Describe the bug

Updating to 1.11.1 resulted in the following build error:

    CCLD     libssh2.la
  ../libtool: line 7958: cd: no/lib: No such file or directory
  libtool:   error: cannot determine absolute directory name of 'no/lib'
  make[2]: *** [Makefile:593: libssh2.la] Error 1
  make[2]: Leaving directory '/C/_/libssh2/src/libssh2-1.11.1/src'
  make[1]: *** [Makefile:507: all] Error 2
  make[1]: Leaving directory '/C/_/libssh2/src/libssh2-1.11.1/src'

Removing --without-libssl-prefix from my build recipe makes things work again.

I assume some "no" value isn't checked in autotools and taken as the prefix?

Building 1.11.0 works fine in the same environment.

To Reproduce

  ./configure \
    --prefix=/usr \
    --enable-shared \
    --with-openssl \
    --with-libz \
    --without-libz-prefix \
    --without-libssl-prefix \
    --without-libgcrypt-prefix
  make

Expected behavior

build works

Version (please complete the following information):

  • OS and version: Cygwin
  • libssh2 version: 1.11.1
  • crypto backend and version: OpenSSL

Activity

  1. lazka commented on Jan 2, 2025

    @lazka
    Author

    I can confirm that reverting d19b619 fixes things.

    @vszakats

  2. added a commit that references this issue on Jan 2, 2025
    8859230
  3. vszakats commented on Jan 2, 2025

    @vszakats
    Member

    Thanks @lazka, I could reproduce and came up with: #1506

  4. lazka commented on Jan 2, 2025

    @lazka
    Author

    Works, thank you!

  5. added a commit that references this issue on Jan 3, 2025
    ffd0c98
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