编译glibc出错:LD_LIBRARY_PATH

编译glibc出错:LD_LIBRARY_PATH

在编译glibc时出错,是LD_LIBRARY_PATH的,提示如下:

checking whether ranlib is necessary... no
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.

改如何改哦??我是新手,问题简单,还望高手不厌其烦,帮忙解答
请大哥们帮忙,小弟赶着作毕业设计
在root/.bash_profile中没有LD_LIBRARY_PATH,我想加一个,可惜不知道glibc要的什么共享库
LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.

这个写的挺明白的,你可以先echo $LD_LIBRARY_PATH然后去掉里面的current directory,然后重新export这个变量,或者你编译的位置不对。
谢谢zhy2111314大哥,问题解决了
configure里说:
Test if LD_LIBRARY_PATH contains the notation for the current directory
# since this would lead to problems installing/building glibc.
# LD_LIBRARY_PATH contains the current directory if one of the following
# is true:
# - one of the terminals (":" and ";") is the first or last sign
# - two terminals occur directly after each other
# - the path contains an element with a dot in it

LD_LIBRARY_PATH不能以终结符作为开始和最后一个字符,不能有2个终结符连在一起,
我的LD_LIBRARY_PATH为 :/usr/local/firefox:/usr/local/firefox,只要在前面加上一个路径,不让:出现在第一个字符就可以了