The binary has appropriate RUNPATH/RPATH that informs ld.so where to look for shared libraries
Actual result:
Running ldd on the nix built binary results in the following warnings and .so listings:
$ ldd /nix/store/dc6x42b1l0hyj3pskl1hp38y22j66gyh-process-compose-1.34.0/bin/process-compose
/nix/store/dc6x42b1l0hyj3pskl1hp38y22j66gyh-process-compose-1.34.0/bin/process-compose: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/dc6x42b1l0hyj3pskl1hp38y22j66gyh-process-compose-1.34.0/bin/process-compose)
/nix/store/dc6x42b1l0hyj3pskl1hp38y22j66gyh-process-compose-1.34.0/bin/process-compose: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/dc6x42b1l0hyj3pskl1hp38y22j66gyh-process-compose-1.34.0/bin/process-compose)
linux-vdso.so.1 (0x00007fff5b1fc000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f57a7234000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f57a7060000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f57a7046000)
/nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f57a725b000)
Defect
Make sure that these boxes are checked before submitting your issue -- thank you!
process-compose info
)Version of
process-compose
:Any version build with nix. Example
nix build github:F1bonacc1/process-compose/main
OS environment:
Any linux distro
Steps or code to reproduce the issue:
nix build github:F1bonacc1/process-compose/main
or install fromnixpkgs
ldd ./result/bin/process-compose
Expected result:
I would expect one of 2 things:
not a dynamic executable
, this is the case with the binaries downloaded from https://github.com/F1bonacc1/process-compose/releasesActual result:
Running ldd on the nix built binary results in the following warnings and .so listings:
readelf is missing RUNPATH