You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error while loading shared libraries: libcurl.so.4 on Ubuntu 16.04 Xfce 4.12 #68
I think we have to add libcurl4-openssl-dev to the snap stage packages, will see if I can reproduce this issue and see if my solution fixes it.
UPDATE
I can't reproduce this on my ubuntu 16.04 system and ubuntu 18.04 vm, and are you sure you installed 1.4.0-linux2 snap? I don't see that snap package on the releases page? I just installed the 1.4.0-linux3 version, can you give that a try?
Okay it installs successfully and it works so I'll close this issue, hopefully it will work when it is added to snapcraft. If not, I'll re-open this issue.
Thanks for the troubleshooting work @ipkpjersi and @asianjakepaul! I'm co-ordinating with the Snapcraft folks so the latest builds are available there, but they'll also be published here in the meantime.
@shiftkey it might have something to do with the --dangerous and --classic flags, I believe it does make a difference to how the install works, maybe it allows it to use system libraries outside the snap.
Also I don't know if something changed since 1.4.0-linux2 and 1.4.0-linux3.
I know this issue is basically fixed and this is somewhat unrelated but @shiftkey any idea when the snapcraft store will update the snap? It hasn't been updated in over a month so it'd be nice to have the libcurl issue fixed on the latest snapcraft build.
Activity
asianjakepaul commentedon Sep 22, 2018
I think we have to add
libcurl4-openssl-devto the snap stage packages, will see if I can reproduce this issue and see if my solution fixes it.UPDATE
I can't reproduce this on my ubuntu 16.04 system and ubuntu 18.04 vm, and are you sure you installed 1.4.0-linux2 snap? I don't see that snap package on the releases page? I just installed the 1.4.0-linux3 version, can you give that a try?
ipkpjersi commentedon Sep 22, 2018
I am very certain I have installed the 1.4.0-linux2 snap:
How do I install 1.4.0-linux3 - the latest version on snapcraft is 1.4.0-linux2 as seen here: https://snapcraft.io/github-desktop
asianjakepaul commentedon Sep 22, 2018
Here is the 1.4.0-linux3 release: https://github.com/shiftkey/desktop/releases/tag/release-1.4.0-linux3
My bad, this is a pre-release, you can download the snap package and install it via the command line:
ipkpjersi commentedon Sep 22, 2018
sudo snap install ~/Downloads/GitHubDesktop-linux-amd64-1.4.0-linux3.snaperror: cannot find signatures with metadata for snapasianjakepaul commentedon Sep 22, 2018
You have to add the
--classicand--dangerousflagsipkpjersi commentedon Sep 22, 2018
Okay it installs successfully and it works so I'll close this issue, hopefully it will work when it is added to snapcraft. If not, I'll re-open this issue.
shiftkey commentedon Sep 22, 2018
Thanks for the troubleshooting work @ipkpjersi and @asianjakepaul! I'm co-ordinating with the Snapcraft folks so the latest builds are available there, but they'll also be published here in the meantime.
asianjakepaul commentedon Sep 22, 2018
@shiftkey it might have something to do with the
--dangerousand--classicflags, I believe it does make a difference to how the install works, maybe it allows it to use system libraries outside the snap.Also I don't know if something changed since 1.4.0-linux2 and 1.4.0-linux3.
shiftkey commentedon Sep 22, 2018
I'm not sure what was used before for the
stagePackagesbut upstream we changed our embedded Git to uselibcurlwith OpenSSL (and notlibcurl-gnutls) and the latest build has thesestagePackagesdefined: https://github.com/shiftkey/desktop/pull/64/files#diff-c46ab57cbefdfb467fcd9978d6fff421ipkpjersi commentedon Sep 22, 2018
I'm very pleased how quickly this issue was looked into and resolved. Any chance my other issue - #65 could be looked into some time? Cheers.
ipkpjersi commentedon Oct 25, 2018
I know this issue is basically fixed and this is somewhat unrelated but @shiftkey any idea when the snapcraft store will update the snap? It hasn't been updated in over a month so it'd be nice to have the libcurl issue fixed on the latest snapcraft build.
shiftkey commentedon Nov 14, 2018
I've just published
1.5.0-linux1that should address thelibcurlissue https://github.com/shiftkey/desktop/releases/tag/release-1.5.0-linux1@ipkpjersi I'm trying to get access to that feed so I can start publishing these builds to the channel, but I don't have an ETA on that.