日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

glibc編譯時報錯:configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***

作者:宋小江@ 更新時間: 2022-08-28 編程語言

在編譯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=

圖示:
在這里插入圖片描述
(一開始有報錯,這行執行后,在配置的運行結果就會成功)
在這里插入圖片描述
希望能幫到你。

原文鏈接:https://blog.csdn.net/nianjiuhuiyi/article/details/126499209

欄目分類
最近更新