Packaging/Binaries: Difference between revisions
imported>Makefu add link to a blog post of anders papitto |
imported>Makefu No edit summary |
||
Line 27: | Line 27: | ||
The binary has the dynamic loader ("ELF interpreter") set to a static path which is in general not available under NixOS: <code>/lib64/ld-linux-x86-64.so.2</code> | The binary has the dynamic loader ("ELF interpreter") set to a static path which is in general not available under NixOS: <code>/lib64/ld-linux-x86-64.so.2</code> | ||
We can use patchelf to show set the library path and dynamic linker appropriately: | We can use patchelf to show and set the library path and dynamic linker appropriately: | ||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
$ cd opt/master-pdf-editor-4/ | $ cd opt/master-pdf-editor-4/ |