-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start on NixOS #71
Comments
I have an idea what could cause this. NixOS's directory structure works somewhat different to your average Linux distro. E.g. Are there any hard-coded paths to binaries or directories on Linux in the codebase that could cause issues like this? |
In fact, this software does not use |
That looks promising, I will try it out. Thanks! |
I was able to get it up and running using this PR (which even mentioned this issue already). It was an issue with my lacking NixOS knowledge, not with SourceGit itself. But thank you for the fast answer! |
When trying to start SourceGit on NixOS (Linux), I get
> ./SourceGit bash: ./SourceGit: cannot execute: required file not found
Even though the
SourceGit
binary is in the current directory.> ls libHarfBuzzSharp.so libonigwrap.so libSkiaSharp.so SourceGit
Things I have tried
I tried out different versions of SourceGit, from the first one that supported Linux (8.3) to 8.7, they all behave the same. I also tried out if being on Xorg or Wayland changes anything, it doesn't.
Interestingly enough, a different shell (such as
fish
instead ofbash
) gives me a different error message:fish: Job 1, './SourceGit' terminated by signal SIGSEGV (Address boundary error)
Steps to reproduce
./SourceGit
in the same directory as the bundled.so
filesThe text was updated successfully, but these errors were encountered: