Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created November 30, 2011 15:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save msabramo/1409594 to your computer and use it in GitHub Desktop.
Save msabramo/1409594 to your computer and use it in GitHub Desktop.
brew install growlnotify-1.2.2 on OS X 10.6 (Snow Leopard)
marca@SCML-MarcA:/usr/local$ growlnotify
dyld: Symbol not found: _kSecRandomDefault
Referenced from: /usr/local/bin/growlnotify
Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
in /usr/local/bin/growlnotify
Trace/BPT trap
marca@SCML-MarcA:/usr/local$ brew versions growlnotify
1.3 git checkout 2e23ced Library/Formula/growlnotify.rb
1.2.2 git checkout 5fb24f5 Library/Formula/growlnotify.rb
1.2 git checkout 0476235 Library/Formula/growlnotify.rb
marca@SCML-MarcA:/usr/local$ git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
marca@SCML-MarcA:/usr/local$ brew uninstall growlnotify
Uninstalling /usr/local/Cellar/growlnotify/1.3...
marca@SCML-MarcA:/usr/local$ brew install growlnotify
==> Downloading https://github.com/indirect/growlnotify/tarball/v1.2.2
######################################################################## 100.0%
==> /usr/bin/gzip growlnotify.1
/usr/local/Cellar/growlnotify/1.2.2: 4 files, 236K, built in 3 seconds
marca@SCML-MarcA:/usr/local$ growlnotify -t Title -m message
marca@SCML-MarcA:/usr/local$ echo $?
0
@msabramo
Copy link
Author

@JuanitoFatas: Try:

brew install https://raw.github.com/mxcl/homebrew/15d6da0023924969fa6ad8a7cf743c4b39838e6e/Library/Formula/growlnotify.rb

@JuanitoFatas
Copy link

@msabramo Thanks!!!!!! Where did you get this formula? I checked the Library/Formula, nothing found. I am using Snow Leopard, so probably need to use 1.2 version? I found it here:

brew install https://raw.github.com/mxcl/homebrew/bd40f1e5f89fad962b021c827d56a9fdea0c847d/Library/Formula/growlnotify.rb

Thanks!!!

@msabramo
Copy link
Author

@JuanitoFatas: like you said, Homebrew removed the formula but I happened to have an old git repo laying around that had not been updated in ages and locate growlnotify.rb found it so I grabbed the SHA-1 of that repo and plugged that into the GitHub URL. It might be interesting to see why Homebrew removed growlnotify - perhaps growlnotify is bundled now with Growl? That might be a better way to get the latest version.

@msabramo
Copy link
Author

@JuanitoFatas: I guess you could install it from the homepage:

http://growl.info/extras.php#growlnotify

@JuanitoFatas
Copy link

@msabramo Thanks!!! I found this formula works

brew install https://raw.github.com/mxcl/homebrew/bd40f1e5f89fad962b021c827d56a9fdea0c847d/Library/Formula/growlnotify.rb

And it did not bundle with the gem growl : (

I've tried to install on the homepage won't work, it needs to install the brew way!

Thanks a lot!!! Have a splendid day : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment