[Nix-dev] Building portable linux binaries on NixOS
Peter Simons
simons at cryp.to
Wed Oct 7 20:48:21 CEST 2015
Kamil Chmielewski writes:
> $ ldd go-app
> linux-vdso.so.1 (0x00007ffdeab70000)
> libpthread.so.0 => nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libpthread.so.0 (0x00007f9ae89e0000)
> libc.so.6 => /nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/libc.so.6 (0x00007f9ae8640000)
> /nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21/lib/ld-linux-x86-64.so.2 (0x00007f9ae8bfd000)
that last path to ld-linux-x86-64.so.2 represents your system linker,
which is required to load this executable into memory. I suppose that
path doesn't exist on the Ubuntu machine where you're trying to execute
the program? That would be consistent with the error message you got.
Best regards,
Peter
More information about the nix-dev
mailing list