gpt4 book ai didi

webrtc - CentOS7安装janus-gateway报错

转载 作者:行者123 更新时间:2023-12-04 14:18:09 25 4
gpt4 key购买 nike

我想在 CentOS7 上安装 janus-gateway。我阅读了以下文档并尝试安装。 https://github.com/meetecho/janus-gateway/blob/master/README.md

git clone https://github.com/meetecho/janus-gateway.git
cd janus-gateway
sh autogen.sh
./configure --prefix=/opt/janus

但是配置janus-gateway会报错。错误如下。

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANUS... no
configure: error: Package requirements (
glib-2.0 >= 2.34
libconfig
nice
jansson >= 2.5
libssl >= 1.0.1
libcrypto
) were not met:

No package 'nice' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JANUS_CFLAGS
and JANUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

我按照以下方式安装了 libnice(libnice-0.1.3-4.el7.x86_64)。

yum install libnice

我该如何解决?谢谢。

最佳答案

试试这个并重建

echo "export PKG_CONFIG_PATH=/usr/lib/pkgconfig" >> ~/.bashrc
source ~/.bashrc

关于webrtc - CentOS7安装janus-gateway报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58064311/

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