Trying to install Gitkraken, no luck at all



Greetings fellow users, yesterday I was trying to setup Gitkraken from the AUR. But the program fails to launch and show me this:

/usr/bin/gitkraken: line 3: 1946 Segmentation fault (core dumped) LD_PRELOAD=/usr/lib/ /opt/gitkraken/gitkraken “$@”

What I’ve tried to do:

  1. Fallback Gitkraken to version 2.7, same error… Wich gives me the hint that the problem is not with Gitkraken itself, but with openssl.
  2. Resintall openssl + looking for something in that direction. No luck so far…
    ( yaourt -Sy libcurl-openssl-1.0 --noconfirm )
  3. Set up environmental variables (maybe something is missing?), but nothing changes…
    (env “LD_PRELOAD=/usr/lib/” /opt/gitkraken/gitkraken ) plus variations.
  4. Installing some libcurl stuff.

Any hints?

Ty, for your help!

PS: This is a fresh Manjaro install. I was using Manjaro + deepin before with no issues for over a year…
EDIT: Im using Manjaro Budgie atm.

LD_PRELOAD=/usr/lib/ gitkraken


File exists, but it gives me a warning: shell level too high…


ls -l /usr/lib/libcurl-openssl-1.0*


lrwxrwxrwx 1 root root 28 set 17 20:33 /usr/lib/ ->
-rwxr-xr-x 1 root root 489464 set 17 20:33 /usr/lib/

total 0
lrwxrwxrwx 1 root root 31 set 17 20:33 -> …/
lrwxrwxrwx 1 root root 31 set 17 20:33 -> …/
lrwxrwxrwx 1 root root 31 set 17 20:33 -> …/


More info:
Here is the lines that ive tried:

LD_PRELOAD=/usr/lib/ /opt/gitkraken/gitkraken "$@"
LD_PRELOAD=/usr/lib/ /opt/gitkraken/gitkraken "$@"
LD_PRELOAD=/usr/lib/ /opt/gitkraken/gitkraken “$@”

Output from ls

ls /usr/lib/libcurl*.*

/usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/
/usr/lib/ /usr/lib/



Finally solved!

Just removed the LD_PRELOAD flag (yeah, thats right) and now is working flawlessly. I messed around with lots of libs and LD_PRELOAD flags, without success!


PS: Running ANY LD_PRELOAD will result in a seg fault.


Can’t believe I forgot this thread until you reply. Anyway, glad it worked out for ya!


Ty for your time!


Hm, I’m sorry, but I’ve been facing the same problem as yours, although I don’t know how to remove the LD_PRELOAD flag. Would you mind teaching me how to do it, please?

I would appreciate it very much :slight_smile:


Just edit the file at /bin/gitkraken or something like that.


Thanks, it’s worked now :slight_smile:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.