Steve Brodie Asked: 2018-02-10 04:50:18 +0800 CST2018-02-10 04:50:18 +0800 CST 2018-02-10 04:50:18 +0800 CST 加载 SoX 时出错 772 我使用了一个非常有用的工具,叫做 r128gain,它对音频文件执行响度归一化。但是,在 17.10 下,我收到以下错误... Failed opening "/home/Downloads/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2". Error loading SoX. 任何人都可以为我阐明这一点,我想让它再次工作吗?谢谢! sound sox 2 个回答 Voted Best Answer Robert Riedl 2018-02-10T04:57:53+08:002018-02-10T04:57:53+08:00 该工具似乎缺少sox安装 sudo apt-get install sox 应该修复它 编辑:单独安装并没有解决它,你必须告诉r128gain在哪里寻找 sox 库 mv /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2_backup ln -s /usr/lib/x86_64-linux-gnu/libsox.so.2 /home/username/r128gain-1.0.11-linux64-gtk3/r128gain-tools/libsox.so.2 然后它工作 ./r128gain /usr/share/sounds/alsa/Noise.wavSoX sucessfully loaded. FFmpeg sucessfully loaded. analyzing ... [1/1] "Noise.wav": -29.7 LUFS (6.7 LU) peak: -17.9 TPFS, range: 0.0 LU [ALBUM]: -29.7 LUFS (6.7 LU) peak: -17.9 TPFS, range: 0.0 LU done. N0rbert 2018-02-10T04:59:47+08:002018-02-10T04:59:47+08:00 SoX 中的可执行文件r128gain-1.0.11-linux64-gtk3/r128gain-tools依赖于 libpng12(在现代 Ubuntu 中不存在),因此我们需要手动安装它: wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb 在此之后它工作: artful@artful:~/Downloads/r128gain-1.0.11-linux64-gtk3$ ./r128gain /usr/share/sounds/alsa/Noise.wav SoX sucessfully loaded. FFmpeg sucessfully loaded. analyzing ... [1/1] "Noise.wav": -29.7 LUFS (6.7 LU) peak: -17.9 TPFS, range: 0.0 LU [ALBUM]: -29.7 LUFS (6.7 LU) peak: -17.9 TPFS, range: 0.0 LU done.
该工具似乎缺少
sox
安装sudo apt-get install sox
应该修复它
编辑:单独安装并没有解决它,你必须告诉r128gain在哪里寻找 sox 库
然后它工作
SoX 中的可执行文件
r128gain-1.0.11-linux64-gtk3/r128gain-tools
依赖于 libpng12(在现代 Ubuntu 中不存在),因此我们需要手动安装它:在此之后它工作: