-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hint when compiling with another openssl library #2615
Comments
Are you suggesting that as a change for Personally I tend to just set |
Not really a change - I suggest a note in how to install curl and libcurl. There is the Honestly, for me it doesn't matter, if you prefer Notice:
This doesn't work for gcc 7.3.0. This is the output in
This works:
Adding |
No it doesn't. If it does, that's a bug! The configure script sets and uses I would be very happy if you would provide your suggested phrasing as actual diffs to the source file. Also note that you're talking about linker options to a specific linker so any docs would need to clarify that this is system/linker specific. And as you say, possibly even version specific. |
Wait, it must be a new bug because I tried it with curl 7.58 and there it works! So check the changes from 7.58 to 7.60! Thank you for mentioning it because I almost forgot. I had to solve it so I was working on it last weekend until I found the solution with the This is the command line:
With 7.58 it works without any additional |
Yes, #2586 for example is a fix since 7.60.0 and is directly related to this. So please try a daily snapshot first. |
Yep, I confirm, the latest daily snapshot works! I will check out periodically if a new version is available. So, there would be more or less only the hint in the installation guide regarding the |
Thanks for confirming. The next release date is planned for July 11th. |
... the older description doesn't work Reported-by: Peter Varga Fixes #2615
Thanks @AlBundyLoves69, the updated description has now landed! |
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 runningconftest
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
executeexport LDFLAGS="-Wl,--rpath=/<path-to-correct-openssl-libraries>"
The text was updated successfully, but these errors were encountered: