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

James Cook james.cook at utoronto.ca
Sat Mar 2 22:55:07 CET 2013


On 2 March 2013 13:48, Ludovic Courtès <ludo at gnu.org> wrote:
> 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?

That was the problem!  For some reason my ~/.profile was doing this,
and when I changed that the problem went away.

Sorry for the noise,
  James


More information about the nix-dev mailing list