On 09/11/2012 08:04 PM, Marco Maggesi wrote:
I have nix+nixpkgs installed on an ubuntu machine.
Today an update of the underling ubuntu os broke something in the nix
installation, e.g.:

root@bantu:~# nix-channel --update
/nix/store/xh2349hvdvkvazh0fn9dz4z7za35iig4-curl-7.22.0/bin/curl:
/nix/store/6cgraa4mxbg1gfi95a4yhxq6yzb56s4v-glibc-2.13/lib/libc.so.6:
version `GLIBC_2.14' not found (required by
/lib/x86_64-linux-gnu/libpthread.so.0)

My understanding is that curl has a dependency outside of the /nix/store

Hmm, my curl with the same path-hash links OK on NixOS. I suggest we check the contents is the same.

$ nix-store -q --hash /nix/store/xh2349hvdvkvazh0fn9dz4z7za35iig4-curl-7.22.0
sha256:14q28rylg78l1fscyy5zpwrhjhjjnyv1as0wgkz82vl49wz5i23m

Then it might help to check stuff set by patchelf.

$ patchelf --print-rpath --print-interpreter /nix/store/xh2349hvdvkvazh0fn9dz4z7za35iig4-curl-7.22.0/bin/curl
/nix/store/6cgraa4mxbg1gfi95a4yhxq6yzb56s4v-glibc-2.13/lib/ld-linux-x86-64.so.2
/nix/store/xh2349hvdvkvazh0fn9dz4z7za35iig4-curl-7.22.0/lib:/nix/store/rdaia2k46xqn1xs8i5l7yrnss9f450ii-zlib-1.2.6/lib:/nix/store/6cgraa4mxbg1gfi95a4yhxq6yzb56s4v-glibc-2.13/lib


Vlada

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to