Skip to content

./configure --with-ssl=/path/to/openssl broken #2586

@bwalle

Description

@bwalle

After commit 2d4c215, configure doesn't work any more. It fails with

checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lssl -lcrypto -lssl -lcrypto -lz 

I call configure with --with-ssl=/path/to/openssl/lib/ with following contents:

engines/            libcrypto.so        libssl.a            libssl.so.1.0.0     
libcrypto.a         libcrypto.so.1.0.0  libssl.so           pkgconfig/          

The system contains

ls -l /usr/lib/x86_64-linux-gnu/libssl*
-rw-r--r-- 1 root root 357024 Okt  7  2017 /usr/lib/x86_64-linux-gnu/libssl3.so
-rw-r--r-- 1 root root 738444 Mär 29 12:51 /usr/lib/x86_64-linux-gnu/libssl.a
lrwxrwxrwx 1 root root     13 Mär 29 12:51 /usr/lib/x86_64-linux-gnu/libssl.so -> libssl.so.1.1
-rw-r--r-- 1 root root 431232 Mär 29 13:10 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2
-rw-r--r-- 1 root root 442920 Mär 29 12:51 /usr/lib/x86_64-linux-gnu/libssl.so.1.1

Even if I replace AC_TRY_RUN in CURL_VERIFY_RUNTIMELIBS with some code that sets LD_LIBRARY_PATH, the next test (AC_CHECK_SIZEOF) fails.

Reverting 2d4c215 works, but then #2492 is unresolved.

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