一等肃毅侯 2022-09-16 19:23
浏览 300
已结题

Ubuntu 编译SRS ./configure 报错 ERROR: opus not found using pkg-config

Ubuntu20.04.2 LTS 上安装SRS ,到 ./configure 的时候报错,终端日志如下:
sudo ./configure  
User config: --x86-x64 --prefix=/usr/local/software/srs/srs4.0
Detail config: --prefix=/usr/local/software/srs/srs4.0 --config=conf/srs.conf --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-caster=on --http-api=on --utest=off --cherrypy=off --srt=on --rtc=on --simulator=off --cxx11=on --cxx14=off --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --gcov=off --debug=off --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
SRS_WORKDIR: ., SRS_OBJS_DIR: objs, SRS_OBJS: ./objs, SRS_PLATFORM: Platform-Linux-5.15.0-GCC9.4.0-SRS5-x86_64
Checking gcc/g++/gdb/make.
Required tools are ok.
Installing tools for Ubuntu.
SRT enable, install depend tools
Tools for Ubuntu are installed.
OS_IS_LOONGARCH64:, OS_IS_MIPS64:, OS_IS_LOONGSON:
SED is sed_utility
The state-threads is ok.
The openssl-1.1-fit is ok.
The libsrtp-2-fit is ok.
The opus-1.3.1 is ok.
Building ffmpeg-4-fit.
ERROR: opus not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
Build ffmpeg-4-fit failed, ret=1
其中错误内容为:ERROR: opus not found using pkg-config。
网上各种百度都是说编译FFmpeg的时候遇到,没有编译SRS 的时候遇到吗?
有遇到国类似问题,并且解决了的马?
  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 9月24日
    • 创建了问题 9月16日

    悬赏问题

    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度
    • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
    • ¥15 ETLCloud 处理json多层级问题
    • ¥15 matlab中使用gurobi时报错
    • ¥15 这个主板怎么能扩出一两个sata口
    • ¥15 不是,这到底错哪儿了😭
    • ¥15 2020长安杯与连接网探
    • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么