glibc编译时报错:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***

这篇具有很好参考价值的文章主要介绍了glibc编译时报错:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

在编译glibc时,进到glibc源码里:

cd glibc-source && mkdir build &&cd build

开始配置,执行了如下命令:../configure --prefix=/opt/glibc
然后报如下错误:
“configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features or tests will be disabled.
*** Check the INSTALL file for required versions.
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.

网上也搜索了下,说是环境变量的问题,摸索了下,不用去改配置文件,只要在刚刚执行命令的终端下运行下面这个命令就可以了,然后再执行上面的配置命令就会成功了。

export LD_LIBRARY_PATH=

图示:
glibc编译时报错:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***
(一开始有报错,这行执行后,在配置的运行结果就会成功)
glibc编译时报错:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***
希望能帮到你。文章来源地址https://www.toymoban.com/news/detail-501231.html

到了这里,关于glibc编译时报错:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • configure: error: openSSL library not found.解决方案

      大家好,我是爱编程的喵喵。双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中。从事机器学习以及相关的前后端开发工作。曾在阿里云、科大讯飞、CCF等比赛获得多次Top名次。现为CSDN博客专家、人工智能领域优质创作者。喜欢通过博客创作

    2024年01月24日
    浏览(37)
  • ./configure: error: the HTTP rewrite module requires the PCRE library.

    ./configure: error: the HTTP rewrite module requires the PCRE library. 这个错误提示告诉你,在运行 configure 脚本时遇到了问题,原因是 HTTP rewrite 模块需要 PCRE 库的支持。 PCRE (Perl Compatible Regular Expressions) 是一种用来处理正则表达式的库,它主要用于文本搜索和替换。 要解决这个问题,你需

    2024年01月23日
    浏览(31)
  • 【Linux-编译器gcc/glibc升级】CentOS7.9使用NodeJS18时报错/lib64/libm.so.6: version `GLIBC_2.27‘ not found

    文章已收录至https://lichong.work,转载请注明原文链接。 ps:欢迎关注公众号“Fun肆编程”或添加我的私人微信交流经验🤝 最近做一个前端项目Jenkins的自动构建时,项目使用nodejs18,正好公司Jenkins节点有些不够用,就用了台资源空余比较多的服务器用于充当Jenkins节点,配置好

    2024年02月16日
    浏览(32)
  • nginx报错:./configure: error: SSL modules require the OpenSSL library. You can either

    nginx报错:./configure: error: SSL modules require the OpenSSL library. You can either 在nginx中配置监听443端口后重新加载配置文件出现此报错, 原因:未安装 ngx_http_ssl_module 模块 解决方法:

    2024年02月05日
    浏览(37)
  • ./configure: error: SSL modules require the OpenSSL library. You can either do not enable the module

     Ubuntu22系统,参考nginx文档Support for QUIC and HTTP/3 执行如下命令: 时报错如下: 但其实系统是有openssl库的: ➜  out git:(v1.1.0) ✗ openssl version OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) 必应了一下,参考了这两个:https://forum.nginx.org/read.php?2,299223  #2605 (NGINX + BoringSSL b

    2024年04月27日
    浏览(46)
  • LLVM编译报错解决:collect2: fatal error: ld terminated with signal 9 [Killed]

    克隆代码到本地 配置编译选项 generator一般使用Ninja,而 options 中必须要传入的参数是构建类型 CMAKE_BUILD_TYPE 不同的CMAKE_BUILD_TYPE区别如下: Build Type Optimization Debug Info Assertion Release For Speed No No Debug None Yes Yes RelWithDebInfo For Speed Yes No MinSizeRel For Size No No Release适合LLVM和Clang的用户

    2024年02月11日
    浏览(26)
  • Linux驱动编译报错ERROR: Kernel configuration is invalid怎么办

    Linux驱动编译报错ERROR: Kernel configuration is invalid怎么办 报错信息 RROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run ‘make oldconfig make prepare’ on kernel src to fix it. WARNING: Symbol version dump ./Module.symvers is missing; modules will have no dependencies and modversi

    2024年02月11日
    浏览(49)
  • 合约编译solc.compile()时报错‘{“errors”:[{“component”:“general”,“formattedMessag

    1.首先编译脚本是: 此时输出 compileResult会报错: ‘{“errors”:[{“component”:“general”,“formattedMessage”:\\\"* Line 1, Column 2n Syntax error: value, object or array expected.n* Line 1, Column 3n Extra non-whitespace after JSON value.n\\\",“message”:\\\"* Line 1, Column 2n Syntax error: value, object or array expected.n* Lin

    2024年02月10日
    浏览(24)
  • 升级 node.js 后,编译时报错error:0308010C:digital envelope routines::unsupported

    系统重装成 win11, node.js 也安装成了最新的 v18.13.0 , 修改基于laravel 的 lims 系统,想重新编译,然后报错 error:0308010C:digital envelope routines::unsupported: 出现这个错误的原因,是 node.js V17版本后使用了OpenSSL3.0, OpenSSL3.0对允许算法和密钥大小增加了严格的限制,改变了md族(包括md4)的

    2024年02月16日
    浏览(26)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包