IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    [原]LD_LIBRARY_PATH shouldn\'t contain the current directory when building glibc. Please change the envir

    testcs_dn发表于 2015-05-02 10:18:20
    love 0

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


沪ICP备19023445号-2号
友情链接