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

學(xué)無(wú)先后,達(dá)者為師

網(wǎng)站首頁(yè) 編程語(yǔ)言 正文

glibc編譯時(shí)報(bào)錯(cuò):configure: error:*** LD_LIBRARY_PATH shouldn‘t contain the current directory when ***

作者:宋小江@ 更新時(shí)間: 2022-08-28 編程語(yǔ)言

在編譯glibc時(shí),進(jìn)到glibc源碼里:

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

開(kāi)始配置,執(zhí)行了如下命令:../configure --prefix=/opt/glibc
然后報(bào)如下錯(cuò)誤:
“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.

網(wǎng)上也搜索了下,說(shuō)是環(huán)境變量的問(wèn)題,摸索了下,不用去改配置文件,只要在剛剛執(zhí)行命令的終端下運(yùn)行下面這個(gè)命令就可以了,然后再執(zhí)行上面的配置命令就會(huì)成功了。

export LD_LIBRARY_PATH=

圖示:
在這里插入圖片描述
(一開(kāi)始有報(bào)錯(cuò),這行執(zhí)行后,在配置的運(yùn)行結(jié)果就會(huì)成功)
在這里插入圖片描述
希望能幫到你。

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

欄目分類
最近更新