您当前的位置: 首页 > 

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH

柳鲲鹏 发布时间:2020-05-15 06:19:34 ,浏览量:0

错误如下:

checking for libpcre >= 7.8... Package libpcre was not found in the pkg-config search path. Perhaps you should add the directory containing `libpcre.pc' to the PKG_CONFIG_PATH environment variable No package 'libpcre' found
configure: error: Library requirements (libpcre >= 7.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
  • 下载编译

https://blog.csdn.net/quantum7/article/details/106133096

  • 配置PKG_CONFIG_PATH
  • 改名

经过前面的操作,怎么还有错?

到lib/pkgconfig下,发现有一个libpcre2-8.pc,这是因为你使用了pcre2。下载编译pcre即可。

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0550s