Here are the most common problems and associated workarounds for recent releases:
|
|
Problem
|
Fix/Workaround
|
|
1
|
14.0.0 on (k)ubuntu Hardy (8.04):
"sox soxio: Failed reading `some.file': unknown file type `auto'" (or other file-type).
|
Install the missing file types with: sudo apt-get install libsox-fmt-all
|
|
2
|
14.2.0 on unix-like OSs, when building SoX from source, the 'configure' script fails on some systems causing a subsequent make error similar to:
DPKGLIBDIR="\"/usr/lib/sox\"" -DDISTRO="\".vir. d .d$$$b. .cd$b. .d$b. d$$$$$
.d$b. .d$b. $$( )$ d$$ d$$$ Q$$$sox-14.2.0$sox-14.2.0.$$$. .$$$. Q$$$$$B$$$$P"
d$sox-14.2.0Q$$b. $$. .$sox-14.2.0' `$.$sox-14.2.0' `$"$$$sox-14.2.0 Q$$$
d$sox-14.2.0 Q$$b $$b $$b..d$$$b..d$d$$$P" "$$$$ Q$Q$$ $$`Q$$$sox-14.2.0
`Q$$$sox-14.2.0 $$$sox-14.2.0 `""""" "" "" Q$sox-14.2.0 "Q$sox-14.2.0"
"Q$sox-14.2.0" `Q$P" """\"" -O2 -march=k8 -mfpmath=sse -msse3 -ggdb -pipe
-Wtraditional-conversion -O2 -march=k8 -mfpmath=sse -msse3 -ggdb -pipe
-fsigned-char -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes
-Wstrict-prototypes -pedantic -MT sox.o -MD -MP -MF .deps/sox.Tpo -c -o sox.o
sox.c
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [sox.o] Error 2
|
Temporarily remove or rename /etc/issue, or apply the patch in the bug report, and re-run the configure script.
|
|
3
|
14.2.0 on Vista OS:
"normalise: cannot create temporary file: permission denied"
(can also occur with other effects)
|
`The temporary files problem turned out to be a Vista security issue. By
using the SoX properties to adjust permissions, and turning off User Account
Control (the annoying new thing where Vista pops up a message asking if a
program should do what you just told it to do....), I got the effect to work
just fine.'
|
|
4
|
14.2.0 on any Windows OS:
"normalise: cannot create temporary file: No such file or directory"
(can also occur with other effects)
|
Create a folder called `tmp' at the top level of the `C:' drive (and any other drive from which SoX may be invoked).
|
|
5
|
14.4.0:
"can't open output file 'default': can not open audio device: Connection refused" when trying to play back audio
|
Either install the PulseAudio sound server, or override this default by setting AUDIODRIVER=alsa (or oss, or other desired audio driver). On Debian/Ubuntu, removing the libsox-fmt-pulse package also helps.
|
Please report any new bugs here.
See also the FAQ.