Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

If you're getting fatal: Not a git repository (or any of the parent directories): .git, make sure you have run brew update to create the git repository.

Owner

msabramo commented Jan 24, 2012

@joequery: Good point, thanks!

Now brew removed the formula of growlnotify. How to solve this issue???

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
Owner

msabramo commented Apr 30, 2012

@JuanitoFatas: Try:

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

@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!!!

Owner

msabramo commented Apr 30, 2012

@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.

Owner

msabramo commented Apr 30, 2012

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

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

@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