2012-05-30 1 views
2

CentOS 5에서 mp3 지원으로 sox 소스를 다시 컴파일하려고합니다. sox-12.18.1-1.el5_5.1이 설치되었습니다. 내 CentOS 기계 한동안.sox는 소스가 mp3 지원으로 다시 컴파일 된 후에도 여전히 mp3을 지원하지 않습니다.

http://techblog.netwater.com/?p=4 다음에 yum을 사용하여 다음 패키지를 설치했습니다.

yum install gcc-c++ libmad libmad-devel libid3tag libid3tag-devel lame lame-devel flac-devel libvorbis-devel make 

./configure는 다음을 보여줍니다. 발행

BUILD OPTIONS 
Debugging build............no 
Distro name ...............not specified! 
Dynamic loading support....no 
Pkg-config location........$(libdir)/pkgconfig 
Play and rec symlinks......yes 
Symlinks enabled...........yes 

OPTIONAL DEVICE DRIVERS 
ao (Xiph)..................no 
alsa (Linux)...............no 
coreaudio (Mac OS X).......no 
sndio (OpenBSD)............no 
oss........................yes 
pulseaudio.................no 
sunaudio...................no 

OPTIONAL FILE FORMATS 
amrnb......................no 
amrwb......................no 
ffmpeg.....................no 
flac.......................yes 
gsm........................yes (in-tree) 
lpc10......................yes (in-tree) 
mp3........................yes 
id3tag....................yes 
lame......................yes 
dlopen lame...............no 
mad.......................yes 
dlopen mad................no 
oggvorbis..................yes 
sndfile....................no 
wavpack....................no 

OTHER OPTIONS 
ladspa effects.............no 
magic support..............yes 
png support................no 
GOMP support...............yes 

그러나 "& & 메이크업 설치하기"실행 한 후 ,

sox test.mp3 tmp1.mp3 reverse 

반환

sox: Failed reading test.mp3: Do not understand format type: mp3 

내가 무슨 말이냐? 감사.

+1

하지만, 문제는 삭스를 설치하지 않은 설치할 수 있도록하는 것입니다 PATH에있는 디렉토리로 이동하십시오. 따라서 버전 14가 아닌 버전 12를 계속 사용하십시오. –

+0

이렇게하면 도움이됩니다 .. CentOS 5.x에서 SoX w/MP3 지원 설치 http://techblog.netwater.com/? p = 4 :) –

답변

0

나는 동일한 문제가있었습니다.

yum remove sox 

다음 :

서버에 설치된 다른 삭스가 없는지 확인 나는 이것이 오래 알고

make uninstall 
make clean 
./configure 
make 
make install 
관련 문제