JUCE demo for Mac

Running the prebuilt JUCE demo from the web site gives me the following error in the console log:

dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
Referenced from: /Volumes/JuceDemo/jucedemo.app/Contents/MacOS/jucedemo
Reason: image not found

The demo then quits.

This is only on the Mac version - the Windows version runs fine.


It works fine if I build it myself, so it’s probably just something silly.


hmm. Ok, that means that the ogg library it’s using is dynamically linked. I thought it was static, so must have built against the wrong one somehow…