-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
Environment:
- cURL from git, tag curl-7_47_0
- OS: Fedora 23, x86_64
- OS-provided libssl: /usr/lib/libssl.so.10 (symlink), /usr/lib/libssl.so.1.0.2e (binary)
- my own OpenSSL build: 1.0.1, installed to
/path/to/openssl(which has the necessarylib/andinclude/opensslsubdirectories) - relevant cURL configure flag:
--with-ssl="/path/to/openssl"
Configuration and building work fine up to the point when the zsh completion is generated. The latter fails:
Making all in scripts
make[1]: Entering directory '/path/to/curl/scripts'
/usr/bin/perl ./zsh.pl ../src/curl > _curl
../src/curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
curl returned 127 with output:
Makefile:548: recipe for target '_curl' failed
I can fix the build by exporting LD_LIBRARY_PATH="/path/to/openssl/lib" before running make. Is this intended or should the build system set the LD_LIBRARY_PATH itself if I provide configure with the path to my OpenSSL installation? I'm asking because configure outputs the following, which seems to be limited to the configure run itself:
configure: Added /path/to/openssl/lib to LD_LIBRARY_PATH
The failure is detected by make since 92a2041. Before that, it would fail silently so that I didn't recognize the issue in 7.46.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels