在Ubuntu20.04上,我有两个可操作的opus-tools 0.1.10-1 (amd64)和ffmpeg7:4.2.4-1ubuntu0.1 (amd64)。我安装了lame 3.100-3 (amd64),opus-tools / ffmpeg停止工作,出现以下错误:
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libavcodec.so.58: undefined symbol: opus_multistream_surround_encoder_create
opusenc: symbol lookup error: opusenc: undefined symbol: opus_multistream_surround_encoder_create
我卸载了lame,得到了相同的消息。然后,我使用--auto-remove
选项删除所有依赖项,并面临相同的问题。在那之后,我卸载并重新安装了opus-tools和ffmpeg,但这没有任何帮助。几乎要放弃了,我跟随this FFmpeg-user thread并执行了ldconfig。也不走运。
最后,我尝试从源代码构建和安装opus-tools,但得到以下消息:
configure: error: Package requirements (ogg >= 1.3) were not met:
No package 'ogg' 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 OGG_CFLAGS
and OGG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
提前感谢您的帮助。
发布于 2021-01-20 22:38:10
备份你的文件并重新安装ubuntu 20.04。
https://stackoverflow.com/questions/65768302
复制相似问题