Repository navigation
drop flag and enable linking to OpenSSL again - #102
Merged
Merged
Conversation
Member
Author
|
For reference, the most recent But the ARM64 build is linking correctly (even though it has This branch now shows that Linux x64 is now linking correctly: As is Linux ARM64: |
shiftkey
force-pushed
the
switch-back-to-openssl
branch
from
July 23, 2018 14:25
0446e1d to
8605fd1
Compare
1 task done
sergiou87
pushed a commit
that referenced
this pull request
Aug 6, 2026
Fixes #527. CI installed libcurl4-gnutls-dev, so git-remote-https ended up with a NEEDED entry for libcurl-gnutls.so.4 — a Debian/Ubuntu-only SONAME that is absent on Fedora/RHEL/CentOS, breaking HTTPS clone/fetch there. Switch the build dependency to libcurl4-openssl-dev across all four arches so the binary links against the standard libcurl.so.4 SONAME, which is present on all mainstream distros. This restores the behaviour PR #102 provided (by building curl from source against OpenSSL) that was dropped in c64f13f (PR #524), without reintroducing the from-source build. Also drop the now-unused CURL_INSTALL_DIR plumbing left behind by that change. Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As part of investigation shiftkey/desktop#21 I found myself realising some choices I'd made ages ago were not great:
NO_OPENSSL=1because I wanted to avoid any unnecessary TLS dependencieslibcurl4-*dependencies available (and/or installed)libcurl-gnutls.so.4just isn't published for RedHat-derived distros (Fedora, CentOS, etc) which is why libcurl-gnutls error on Fedora shiftkey/desktop#21 is raisedlibcurl3package seems to contain the right shared libraries. For RPM-based distros, it looks likelibcurlis the right packageSo after all that yak shaving, I think I need to make the next update of
dugite-nativejust link to OpenSSL and add some proper documentation for distributors about shared libraries that need to be available on the end-user's machines at install time.