gpt4 book ai didi

linux - PKG_CONFIG_PATH 不清除

转载 作者:太空宇宙 更新时间:2023-11-04 10:53:48 28 4
gpt4 key购买 nike

我正在试验 pkg-config。

pkg-config --list-all

仍然显示包列表,即使 PKG_CONFIG_PATH 为空也是如此。

最佳答案

如果变量为空,则使用标准目录/usr/share/pkgconfig/usr/lib/<arch>/pkgconfig .

看看我的例子:

$ pkg-config  --debug 2>&1  | head
no output option set, defaulting to --exists
Error printing disabled by default due to use of output options --exists, --atleast/exact/max-version or no output option at all. Value of --print-errors: 0
Error printing disabled
Adding virtual 'pkg-config' package to list of known packages
Cannot open directory '/usr/local/lib/powerpc64le-linux-gnu/pkgconfig' in package search path: No such file or directory
Cannot open directory '/usr/local/lib/pkgconfig' in package search path: No such file or directory
Cannot open directory '/usr/local/share/pkgconfig' in package search path: No such file or directory
Scanning directory '/usr/lib/powerpc64le-linux-gnu/pkgconfig'

关于linux - PKG_CONFIG_PATH 不清除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29654092/

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