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).
([email protected]) /usr/lib64 # ln -s libcurl.so.4.4.0 libcurl-gnutls.so.4