Packaging/Binaries: Difference between revisions
imported>NilsIrl m →Extra Dynamic Libraries: Fix syntax highlighting |
imported>NilsIrl m →Extra Dynamic Libraries: Fix syntax highlighting |
||
| Line 83: | Line 83: | ||
All the libraries which are not yet found are the ones we need to add to the runtime search path of the executable (RPATH). Again we can use <code>patchelf</code> to do this. We will be using <code>nix-index</code> for finding the files we are looking for: | All the libraries which are not yet found are the ones we need to add to the runtime search path of the executable (RPATH). Again we can use <code>patchelf</code> to do this. We will be using <code>nix-index</code> for finding the files we are looking for: | ||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
# we generate the database index of all files in our channel first | $ # we generate the database index of all files in our channel first | ||
$ nix-index | $ nix-index | ||
+ querying available packages | + querying available packages | ||