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@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@mandark:~]$ gimp --version
> GNU Image Manipulation Program version 2.6.12

but:

> [eelco@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/
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to