If you’re using
pianobar on Mac OS X (Snow Leopard, Lion, Mountain Lion) you might have updated Xcode or homebrew and ended up with a broken pianobar, something along the lines of:
$ pianobar dyld: Library not loaded: /usr/local/lib/libgnutls.26.dylib Referenced from: /usr/local/bin/pianobar Reason: image not found
This isn’t actually a problem with
libgnutls.26.dylib but more of an issue that you need to update pianobar.
The first thing I tried was running these two commands:
( That updates the list of available libraries for homebrew )
( That actually upgraes homebrew and the available libraries )
It’s possiblel that your pianobar will work now, but if not there are a few more things you can try.
If you installed Piano Bar with homebrew you can try:
brew uninstall pianobar
brew install pianobar
If you did not use homebrew to install pianobar you can download pianobar from the repo on github and then build it using xcode via the command line:
make clean && make CFLAGS="-O2 -DNDEBUG -W64"
I actually have a complete tutorial How to install Pianobar on Mac OS X that you can check out, too.