Unable to play MP3 files with mpg123

Andrew Watts ahwatts at gmail.com
Wed Dec 2 08:39:44 PST 2009


Strange  I thought I'd set a DYLD_LIBRARY_PATH in my .profile, but I
must have done that as a one-off way back the last time I needed
mpg123.  Adding

export DYLD_LIBRARY_PATH=/opt/local/lib/mpg123:/opt/local/lib

to my .profile did the trick.

Thanks!

Watts

On Wed, Dec 2, 2009 at 11:28 AM,  <(redacted)> wrote:
> I had this problem.  I worked around it with:
> setenv DYLD_LIBRARY_PATH /opt/local/lib/mpg123
> (for tcsh, which I use, or
> DYLD_LIBRARY_PATH=/opt/local/lib/mpg123; export DYLB_LIBRARY_PATH
> for bash)
>
> I don't know how to make mpg123 know this by default, but this is good
> enough for now.
>
>  DAn.
>
> Andrew Watts-3 wrote:
>>
>> I suspect after some recent update, mpg123 stopped playing files.  I
>> get the following error message:
>>
>> andrew at drbernice Music $ mpg123 20091006_ascom_bocachica.mp3
>> [module.c:138] error: Failed to open module coreaudio: file not found
>> [audio.c:180] error: Unable to find a working output module in this
>> list: coreaudio
>> [audio.c:527] error: Failed to open audio output module
>> [mpg123.c:779] error: Failed to initialize output, goodbye.
>>
>> I noticed that in /opt/local/lib/mpg123, there is an
>> output_coreaudio.so; should this instead have been built as a .dylib?
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>>
> Quoted from:
> http://old.nabble.com/Unable-to-play-MP3-files-with-mpg123-tp26487565p26487565.html
>
>


More information about the macports-users mailing list