ls vi 等所有命令用不了:error while loading shared libraries: librt.so.1:

$ ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory

 

 

原因在于环境变量中设置了

export LD_ASSUME_KERNEL=2.4.1

 

而实际是2.6的内核。

你可能感兴趣的:(object,File)