hadoop 安装glibc-2.14遇到的问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38204686/article/details/83543927

安装glibc-2.14遇到的问题(CentOS 6.4 64位 标准版DVD):

1.No rule to make target `/...libdl.so.2', needed by `/...elf/sprof'.  Stop.  

解决方法: 先make all 再make install

 

2.Can't open configuration file /opt/glibc-2.14/etc/ld.so.conf: No such file or directory

解决方法: cp  /etc/ld.so.conf  /opt/glibc-2.14/etc/  (ld.so.conf文件可以通过find查找再复制到上述文件夹) 再 make install

 

3.删掉 libc.so.6 出现以下问题:error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

解决方法:LD_PRELOAD=/opt/glibc-2.14/lib/libc-2.14.so  ln -s /opt/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6

猜你喜欢

转载自blog.csdn.net/qq_38204686/article/details/83543927