[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    [Nix-dev] glibc-2.13 hell
From:       eelco.dolstra () logicblox ! com (Eelco Dolstra)
Date:       2013-03-31 14:52:35
Message-ID: 51584DB3.3000603 () logicblox ! com
[Download RAW message or body]

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/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic