[Nix-dev] mount - no such file or directory?
Eelco Dolstra
e.dolstra at tudelft.nl
Fri Sep 5 09:41:43 CEST 2008
Marc Weber wrote:
> I've still some trouble with mount and I'd like to ask what you would
> try.
>
> Installing mount on the host using
>
> nix-env -iA kernelPackages.klibcShrunk -f $ALL_PACKAGES -p ee
>
> results in
> static:
> marc at nixos: /pr/tasks/static ]$ ldd ee/bin/mount
> not a dynamic executable
ldd doesn't give correct information here. The klibc binaries *are* dynamically
linked:
$ readelf -a ./result/bin/uname
INTERP 0x0000b4 0x080480b4 0x080480b4 0x0005f 0x0005f R 0x1
[Requesting program interpreter:
/nix/store/dw23pzz95kn5vfa72a70ia8w27hbwndz-klibc-1.5/lib/klibc-EcjIkSXUojTZn3VHC4IxoFgq9Kg.so]
So you really do need /nix.
BTW, it's not clear to me why you can't have a /nix...
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list