在 aws ec2 里面出现 segement fault,ls rm 等命令都不能正常运行,会出现:
ls: relocation error: /home/ec2-user/.linuxbrew/lib/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
解决方法:
unset LD_LIBRARY_PATH
unset MIC_LD_LIBRARY_PATH
more:
http://superuser.com/questions/394730/changing-the-version-of-ld-linux-x86-64-so-2-in-rhel5-7