[Nix-dev] "invalid mode for dlopen()" (mixing master and stdenv-updates)

Ludovic Courtès ludo at gnu.org
Sat Mar 2 22:48:52 CET 2013


James Cook <james.cook at utoronto.ca> skribis:

> I updated $HOME/.nix-profile to a commit from the stdenv-updates
> branch (I tried commits fc82aa0 and face3a8).
>
> When I run commands, I get this error message:
>   ls: error while loading shared libraries: __vdso_time: invalid mode
> for dlopen(): Invalid argument
>
> What I find particularly interesting:
>   $ which ls
>   /run/current-system/sw/bin/ls
> (so I'm still using ls from master).

Could it be that $HOME/.nix-profile/lib is in $LD_LIBRARY_PATH?

Presumably ‘ls’ wants glibc 2.13, whereas your profile has glibc 2.17 or so.

Ludo’.



More information about the nix-dev mailing list