{"id":453,"date":"2021-11-16T16:18:51","date_gmt":"2021-11-16T08:18:51","guid":{"rendered":"http:\/\/blog.worren.net\/?p=453"},"modified":"2021-11-16T16:18:51","modified_gmt":"2021-11-16T08:18:51","slug":"freebsd-linux-%e7%b7%a8%e8%ad%af%e8%bb%9f%e9%ab%94%e5%89%8d-configure-%e9%9a%8e%e6%ae%b5%e5%87%ba%e7%8f%be-package-xxxx-was-not-found-in-the-pkg-config-search-path","status":"publish","type":"post","link":"https:\/\/blog.worren.net\/?p=453","title":{"rendered":"FreeBSD \/ Linux \u7de8\u8b6f\u8edf\u9ad4\u524d configure \u968e\u6bb5\u51fa\u73fe   Package xxxx  was not found in the pkg-config search path&#8230;.."},"content":{"rendered":"<div class='drop-case'> <p> \u7b46\u8a18\u4e00\u4e0b , \u5728 FreeBSD\/Linux \u7de8\u8b6f\u8edf\u9ad4\u7684\u524d\u7f6e\u4f5c\u696d configure \u968e\u6bb5\u51fa\u73fe Package xxx\u00a0 was not found in the pkg-config search path Perhaps you should add the directory containing `xxx.pc&#8217; to the PKG_CONFIG_PATH environment variable <br \/> \n <!--more--> \u4f46\u5be6\u969b\u4e0a\u53bb\u770b\u4e86 \/usr\/local\/lib\/pkgconfig \u88e1\u660e\u660e\u5c31\u6709 xxx.pc , \u9019\u6642\u5019\u5f88\u7c21\u55ae\u5730\u53ea\u8981\u9019\u9ebc\u505a\u5373\u53ef : <br \/> \n.\/configure\u00a0 PKG_CONFIG_PATH=&#8221;\/usr\/local\/lib\/pkgconfig&#8221; &#8211;with-xxx &#8211;with-ooo\u00a0 &#8230;&#8230;.<\/div>\n <p> \u9019\u6a23\u9019\u500b configure \u5c31\u6703\u53bb\u627e \/usr\/local\/lib\/pkgconfig \u5e95\u4e0b\u7684 *.pc \u4e86 .\n","protected":false},"excerpt":{"rendered":" <p> \u7b46\u8a18\u4e00\u4e0b , \u5728 FreeBSD\/Linux \u7de8\u8b6f\u8edf\u9ad4\u7684\u524d\u7f6e\u4f5c\u696d configure \u968e\u6bb5\u51fa\u73fe Package xxx\u00a0 was not found in the pkg-config search path Perhaps you should add the directory containing `xxx.pc&#8217; to the PKG_CONFIG_PATH environment variable <\/p> \n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts\/453"}],"collection":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=453"}],"version-history":[{"count":1,"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":454,"href":"https:\/\/blog.worren.net\/index.php?rest_route=\/wp\/v2\/posts\/453\/revisions\/454"}],"wp:attachment":[{"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.worren.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}