play fails to start, it cannot find some libraries. It may be connected to some compile options.
# fgrep -rIsl libasound_module_pcm_oss /usr/ports/audio/
After installing audio/alsa-plugins play works properly.
Some RUN_DEPENDS should be added.
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
Maintainer of audio/sox,
Please note that PR ports/153159 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
The attached patch should fix the problem (I used audio/xmp's Makefile as a
Any port committer that wants to commit this, please use the following log
Sox will use alsa-lib if it finds it and isn't told not to use it, so add an
optional dependency on it, defaulting to off. Bump portrevision to repair
any installed sox binaries that might be broken due to the unreported
I'll take it.
makc 2010-12-16 17:34:41 UTC
FreeBSD ports repository
audio/sox Makefile distinfo
Add optinal dependency on alsa-lib
Remove md5 checksum while I'm here
Reported by: Anatoly Borodin <anatoly.borodin at gmail.com>
Patched by: Dan Nelson (maintainer)
Revision Changes Path
1.52 +10 -1 ports/audio/sox/Makefile
1.21 +0 -1 ports/audio/sox/distinfo
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"