"undefined symbol: opus_multistream_surround_encoder_create" 调用 opusec 或 ffmpeg 时
"undefined symbol: opus_multistream_surround_encoder_create" when calling opusenc or ffmpeg
在 Ubuntu 20.04 上,我有两个 opus-tools 0.1.10-1 (amd64) 和 ffmpeg 7: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.
在此先感谢您的帮助。
备份文件并重新安装 ubuntu 20.04.
在 Ubuntu 20.04 上,我有两个 opus-tools 0.1.10-1 (amd64) 和 ffmpeg 7: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.
在此先感谢您的帮助。
备份文件并重新安装 ubuntu 20.04.