linux - 在 pkg-config 搜索路径中找不到包 pjsip
问题描述
我只是想配置 pjsip,我想了解 qtcreator 的 pjsip 链接器是什么。但我有一些错误。首先,我从官方网站获得了 pjsip。后
./configure \
--prefix=/usr \
--enable-shared \
--disable-sound \
--disable-resample \
--disable-video \
--disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
make dep && make
make install
到目前为止一切正常。但是当我尝试pkg-config --libs pjsip
命令时,我得到了这个输出:
root@ubuntu:/home/UTS/pjproject-2.11.1# pkg-config --libs pjsip
Package pjsip was not found in the pkg-config search path.
Perhaps you should add the directory containing `pjsip.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pjsip' found
解决方案
推荐阅读
- bash - 想要存储对 cURL 请求的响应,但请求本身也被存储。如何让它静音?
- javascript - 使用.animate 为.mouseout 淡出过渡?
- python - 在 python 中通过正则表达式过滤列表不适用于单引号
- javascript - 从父页面重定向 iframe
- php - 关于PHP-Column count does not match value count at row 1的错误
- reactjs - 在这个条件 JSX 渲染中,为什么需要双 (!!)?
- java - 您在 `MapView` 被销毁后调用 `removeAnnotationIcon`,你是在 `onDestroy()` 之后调用它吗?地图框
- rest - 邮递员获取中的迭代发布请求无法读取未定义的属性“获取”
- apollo - Apollo 嵌套查询
- python - 带有自定义函数的 Pandas groupby 将列值作为数组返回