Jump to content

Translations:FAQ/9/en: Difference between revisions

From Official NixOS Wiki
FuzzyBot (talk | contribs)
Importing a new version from external source
 
FuzzyBot (talk | contribs)
Importing a new version from external source
Line 1: Line 1:
== 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? ===
Binaries normally do not work out of the box when you download them because they normally just assume that libraries can be found in hardcoded paths such as <code>/lib</code>. However this assumption is incorrect on NixOS systems due to the inner workings of <code>nix</code> - there is no default path, everything gets set to the corresponding version on compile time.
Binaries normally do not work out of the box when you download them because they normally just assume that libraries can be found in hardcoded paths such as <code>/lib</code>. However this assumption is incorrect on NixOS systems due to the inner workings of <code>nix</code> - there is no default path, everything gets set to the corresponding version on compile time.

Revision as of 21:14, 7 October 2025

Message definition (FAQ)
=== 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?

Binaries normally do not work out of the box when you download them because they normally just assume that libraries can be found in hardcoded paths such as /lib. However this assumption is incorrect on NixOS systems due to the inner workings of nix - there is no default path, everything gets set to the corresponding version on compile time.