[Nix-dev] glibc-2.13 hell

Eelco Dolstra eelco.dolstra at logicblox.com
Sun Mar 31 16:52:35 CEST 2013


Hi,

On 30/03/13 13:27, Sergey Mironov wrote:

> PS I had custom libfreetype  in the LD_LIBRARY_PATH (set by the ~/.bash_profile)
> at the moment of nixos-rebuild, like this:
> 
> [ierton at greyblade:~]$ echo $LD_LIBRARY_PATH
> /nix/store/zwilpkw86liih06x1zg6avlkd17awyfn-freetype-2.4.10/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib
> 
> Could that be the cause?

Yes, definitely.  On my system:

> [eelco at mandark:~]$ gimp --version
> GNU Image Manipulation Program version 2.6.12

but:

> [eelco at mandark:~]$ LD_LIBRARY_PATH=/nix/store/0j6g69ybrggql3l3xr5sxvh58am62ifd-freetype-2.4.10/lib gimp
> gimp: /nix/store/6cgraa4mxbg1gfi95a4yhxq6yzb56s4v-glibc-2.13/lib/libc.so.6: version `GLIBC_2.14' not found (required by /nix/store/0j6g69ybrggql3l3xr5sxvh58am62ifd-freetype-2.4.10/lib/libfreetype.so.6)

Generally, setting LD_LIBRARY_PATH globally is a recipe for disaster.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list