码迷,mamicode.com
首页 > 其他好文 > 详细

LD_LIBRARY_PATH shouldn't contain the current directory when building glibc. Please change the envir

时间:2015-05-02 11:15:16      阅读:539      评论:0      收藏:0      [点我收藏+]

标签:configure   glibc   building   directory   change   

执行# ./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 

LD_LIBRARY_PATH shouldn't contain the current directory when building glibc. Please change the envir

标签:configure   glibc   building   directory   change   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45438023

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!