-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
I would like to provide an information which could be published in the installation manual in order to help others.
When curl is compiled with another openssl version than the system default it is often not possible to set the library path from the new openssl version in /etc/ld.so.conf because this may break the system.
In this case the configure script fails running conftest when it is using the openssl libraries with ./conftest: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory.
The only way in this case is to use the rpath linker option.
Solution:
Before running ./configure execute export LDFLAGS="-Wl,--rpath=/<path-to-correct-openssl-libraries>"
Reactions are currently unavailable