[<<][nixos][>>][..]
Tue Oct 29 19:39:45 EDT 2019

absolute paths for FHS compiled binaries

e.g.:

(top_src_chroot)tom@panda:~/humanetics/top_src$ ldd /home/tom/priv/git-private/humanetics/top_cache/gw_buildroot-d4896d7d0e7bdb9e9b578a3f9904691757d7f2d2/target/bbb/host/bin/../lib/gcc/arm-buildroot-linux-musleabihf/6.4.0/../../../../arm-buildroot-linux-musleabihf/bin/as
	linux-vdso.so.1 (0x00007ffcb14f4000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f4c5157e000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f4c51579000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f4c513c3000)
	/nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/ld-linux-x86-64.so.2 => /nix/store/xvj2l5llpmcgx99cl37v5xqpazs38195-glibc-multi-2.27/lib/ld-linux-x86-64.so.2 (0x00007f4c5159f000)
(top_src_chroot)tom@panda:~/humanetics/top_src$ readlink -f /usr/lib/libz.so.1
/nix/store/iiymx8j7nlar3gc23lfkcscvr61fng8s-zlib-1.2.11/lib/libz.so.1.2.11

Those only resolve properly inside the chroot.  To make them work
outside, the elfs need to be patched to the respective /nix/store
paths.





[Reply][About]
[<<][nixos][>>][..]