ports/153159: audio/sox: play fails to start

Anatoly Borodin anatoly.borodin at gmail.com
Tue Dec 14 23:30:07 UTC 2010


>Number:         153159
>Category:       ports
>Synopsis:       audio/sox: play fails to start
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 14 23:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        
>Organization:
>Environment:
>Description:
play fails to start, it cannot find some libraries. It may be connected to some compile options.
>How-To-Repeat:
# play some.mp3
ALSA lib pcm.c:2173:(snd_pcm_open_conf) Cannot open shared library /usr/local/lib/alsa-lib/libasound_module_pcm_oss.so
play FAIL formats: can't open output file `default': snd_pcm_open error: No such file or directory

# cd /usr/ports/audio/sox; make showconfig
===> The following configuration options are available for sox-14.3.0_5:
     AO=on "Enable libao output"
     AMRNB=on "AMR Speech Codec (Narrowband)"
     AMRWB=on "AMR Speech Codec (Wideband)"
     FFMPEG=on "Enable ffmpeg en/decoding"
     FLAC=on "Enable flac en/decoding with libflac"
     GSM=on "Use libgsm from ports (else use bundled lib)"
     ID3TAG=on "Enable mp3 tagging with libid3tag"
     LADSPA=on "Audio plugin support"
     LAME=on "Enable mp3 encoding with LAME"
     MAD=on "Enable mp3 decoding with MAD"
     PNG=on "Enable PNG spectrogram creation"
     SNDFILE=on "Enable libsndfile"
     VORBIS=on "Enable Ogg Vorbis support"
     WAVPACK=on "Enable Wavpack support"
===> Use 'make config' to modify these settings

>Fix:
# fgrep -rIsl libasound_module_pcm_oss /usr/ports/audio/
/usr/ports/audio/alsa-plugins/pkg-plist
/usr/ports/audio/alsa-utils/Makefile
/usr/ports/audio/hydrogen/Makefile
/usr/ports/audio/xmp/Makefile

After installing audio/alsa-plugins play works properly.

Some RUN_DEPENDS should be added.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list