speex not found using pkg-config

来源:1-5 FFmpeg下载,编译与安装

红鱼丶

2019-01-19

老师,在乌班图系统中运行./configure 后报的错,,然后安装Speex的时候又提示已经安装了
然后在config.log文件的最后几句是:

check_pkg_config libspeex speex speex/speex.h speex_decoder_init
test_pkg_config libspeex speex speex/speex.h speex_decoder_init
pkg-config --exists --print-errors speex
Package speex was not found in the pkg-config search path.
Perhaps you should add the directory containing `speex.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘speex’ found
ERROR: speex not found using pkg-config

请问老师,这个该怎么解决呢?
图片描述

写回答

3回答

weixin_慕斯5327578

2020-12-02

我也遇到这个问题了, 楼主解决了吗


0
3
李超
进入课程,在PC的右边有入群密码
2020-12-27
共3条回复

红鱼丶

提问者

2019-01-20

sudo apt-get install mercurial cmake cmake-curses-gui build-essential yasm

先执行这个命令,,,然后在下载X265

 hg clone https://bitbucket.org/multicoreware/x265 cd x265/build/linux 
./make-Makefiles.bash
 make && make install

 安装好了会在 这里看到多了一个x265,此时就可以使用lib265进行配置了 如果遇到权限问题就在命令前面加上sudo(应该是使用管理员权限运行命令的意思) 最后再进行下一步

0
1
红鱼丶
ldconfig 安装后运行这个命令,要不可能265.so动态库找不到 ldd ffmpeg 查看动态库连接的命令
2019-01-21
共1条回复

红鱼丶

提问者

2019-01-20

sudo apt-get install libspeex-dev

通过这个命令安装了一下Speex,然后接着报错

ERROR: x265 not found using pkg-config

继续探索,,,

0
2
红鱼丶
回复
李超
不清楚呢,,后来重新安装了下X265然后重新运行ldconfig就好了,,
2019-01-23
共2条回复

经典再升级-FFmpeg5.0核心技术精讲,打造音视频播放器

学好FFmpeg核心技术,做高效,高薪,有竞争力的音视频工程师

2726 学习 · 814 问题

查看课程