[Nix-dev] uncaught impurity(?)

Vladimír Čunát vcunat at gmail.com
Wed Sep 12 21:20:03 CEST 2012


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3238 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120912/3a966bc2/attachment.bin 


More information about the nix-dev mailing list