gpt4 book ai didi

linux - 如何修改 LD_LIBRARY_PATH 环境变量?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:38:06 40 4
gpt4 key购买 nike

我有 Ubuntu 16.04,安装 gtk+3.22.20,需要 GLIB >= 2.49.4 的版本。当运行“配置”脚本时,它说它检测到 GLIB 是 2.48.2。但是,'pkg-config --modversion glib-2.0' 返回 2.52.3,因为我安装了该版本。

他们建议:

"remove the old version of GLib. You may also be able to fix the error by modifying your LD_LIBRARY_PATH enviroment variable, or by editing /etc/ld.so.conf. Make sure you have run ldconfig if that is required on your system."

如何解决?

最佳答案

你可以将它添加到你的 ~/.bashrc:

echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/custom/path/">> ~/.bashrc

关于linux - 如何修改 LD_LIBRARY_PATH 环境变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46175203/

40 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com