Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2010 23:28:03 GMT
From:      Anatoly Borodin <anatoly.borodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153159: audio/sox: play fails to start
Message-ID:  <201012142328.oBENS3n5093575@red.freebsd.org>
Resent-Message-ID: <201012142330.oBENU7HL062375@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012142328.oBENS3n5093575>