执行# ./glibc-2.14/configure 出现以下错误:
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
问题分析:
LD_LIBRARY_PATH不能包含当前目录,请修改环境变量并重新执行configure
解决方法:
[root@localhost opt]# echo $LD_LIBRARY_PATH
:/usr/local/lib
[root@localhost opt]# export LD_LIBRARY_PATH=
[root@localhost opt]# echo $LD_LIBRARY_PATH
[root@localhost opt]# ./glibc-2.14/configure
本文解决在使用glibc-2.14配置时遇到的LD_LIBRARY_PATH包含当前目录导致的错误,通过修改环境变量并重新执行configure命令解决此问题。
14万+

被折叠的 条评论
为什么被折叠?



