FAQ: Difference between revisions
imported>Makefu →I've downloaded a binary, but I can't run it, what can I do?: fix interpreter |
imported>Makefu |
||
Line 133: | Line 133: | ||
== I've downloaded a binary, but I can't run it, what can I do? == | == I've downloaded a binary, but I can't run it, what can I do? == | ||
If you are new to packaging proprietary software you should check out the [[Packaging Binaries|Packaging Binaries Tutorial]]. | |||
If you are in a hurry and just want to get shit running, continue reading:<br /> | |||
Compiled binaries have hard-coded interpreter and require certain dynamic libraries. You can use [https://nixos.org/patchelf.html patchelf] to set the library path and dynamic linker appropriately: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |