GitKraken not loading in Fedora (libcurl.so.4 issue)

GitKraken is a very nice tool to work with git, it really simplify some of the common tasks which most users need to work with git, and the nice GUI is another plus.

Long story short, after some time working with GitKraken, I upgraded to version 3.XX (from 2.X) and GitKraken stopped working, running the application from the terminal spit this messages:

► gitkraken
Node started time: 1488472940858
libcurl.so.4: cannot open shared object file: No such file or directory
Error: libcurl.so.4: cannot open shared object file: No such file or directory
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:568:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/share/gitkraken/resources/app.asar/node_modules/nodegit/dist/nodegit.js:11:12)
    at Module._compile (module.js:541:32)
    ...

So after finding this issue on electron github issues, it was seems a problem with Electron and not GitKraken it self, seems like they upgraded there version of Electron which brought this problem with it.

So my quick fix for this problem was to created the missing file by linking to the one I all ready have in my system (it a Debain/Redhat naming convention problem).

(root@localhost) /usr/lib64 # ln -s libcurl.so.4.4.0 libcurl-gnutls.so.4

 

Reference

You may also like...

5 Responses

  1. Sahir says:

    still not working for fedora 28

    • Rabin says:

      There is some unresolved problem with GitKraken on Fedora when using it with git over ssh, the application will reload each time it try to access to remote server. I was able to use the Flatpak package and it works pretty well for me right now.

  2. SAhir says:

    hi Rabin,

    thanks, after install from flatpak, already work.

    Regards,

    Sahir

  3. Bill Mall says:

    I was having an issue with GitKraken 4.0.5 and 4.0.6 after I upgraded to Fedora 29 with Cinnamon. I uninstalled the package from Axosoft and used the Flatpak package and it works! Don’t even need the symbolic link for libcurl-gnutls. Thanks for the suggestion!

    • Rabin says:

      Thanks, I also moved to the flatpak package some time ago, as Gitkraken was stuck in infinite reloading loop as it was trying to fetch from the remote server over ssh. I opened a ticket with Axosoft, they aware of the problem, and there suggestion was also to use the flatpak package for now.

Leave a Reply

Your email address will not be published. Required fields are marked *