SoX is the Swiss Army Knife of sound processing utilities. It can convert audio files to other popular audio file types and also apply sound effects and filters during the conversion.
标签:
1.下载SOX
2.安装sox文件
1)解压 tar -zxvf sox-14.4.1.tar.gz
2)进入sox14.4.1目录中执行./configure
3)执行 make命令
4)执行sudo make install命令
错误的现象:
Sox error while loading shared libraries: libsox.so.2: cannot open shared object file: No such file
问题原因:在/usr/local/lib当中是有libsox.so.2,只不过是找不到而已。
在 /etc/ld.so.conf.d 目录当中创建一个文件,libso.conf:加入
/usr/local/lib/libsox.so.2.
执行 ldconfig就可以了。