#199 Macos 10.9 Mavericks: core audio file not found


Any mp3 file I try, I get (mgp123 1.16):

[module.c:142] 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:532] error: Failed to open audio output module
[mpg123.c:897] error: Failed to initialize output, goodbye.


  • Thomas Orgis

    Thomas Orgis - 2013-11-16

    Did you install mpg123 or are you trying to run from the source directory? You might need to set MPG123_MODDIR. You can run src/mpg123-with-modules without installing for that.
    Otherwise ... some more context would help. Also, if coreaudio is the only module built anyway, you can also just build it in by disabling modules altogether (./configure --disable-modules).

  • crotalus

    crotalus - 2013-11-17

    I am using macports. The original port was 1.14.4, and I just updated to 1.16.0
    trying to fix this problem. If I run without installing the way you pointed out, it works. If I install, then the core audio is not found.

    I am not the maintainer of this port, neither I am very familiarized with mac os...

  • crotalus

    crotalus - 2013-11-21

    Hi, I just edited the port and changed the configure line the way you told me:

    platform macosx {
    configure.args-append --disable-modules

    Now it is working (before, it was not linking with the audio framework):

    ~/macports/mpg123$ ldd /opt/local/bin/mpg123
    /opt/local/lib/libmpg123.0.dylib (compatibility version 39.0.0, current version 39.4.0)
    /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 492.0.0)
    /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 59.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

  • Thomas Orgis

    Thomas Orgis - 2013-11-22

    Well, the whole point of a separate module is to avoid linking the main binary to the related library. When it works using MPG123_MODDIR, the problem is simply that the macport doesn't install the module, or the path is changed from the one ./configure used. Can you ask the maintainer about that? You need /usr/local/lib/mpg123/output_coreaudio.so and the .la file for that at the same place, or have --with-module-suffix=.so to omit the latter. With a normal 'make install', that stuff should be there.

  • Thomas Orgis

    Thomas Orgis - 2014-05-10
    • status: open --> closed-invalid

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks