首页 > 解决方案 > 在 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

标签: linuxpjsip

解决方案


推荐阅读