Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

growlnotify malformed object #8316

Closed
junkblocker opened this issue Oct 26, 2011 · 13 comments
Closed

growlnotify malformed object #8316

junkblocker opened this issue Oct 26, 2011 · 13 comments

Comments

@junkblocker
Copy link
Contributor

% brew install growlnotify 
==> Downloading https://github.com/indirect/growlnotify/tarball/v1.3
File already downloaded in /Users/maso/Library/Caches/Homebrew
==> /usr/bin/gzip growlnotify.1
/usr/bin/strip: for architecture x86_64 object: /usr/brew/Cellar/growlnotify/1.3/bin/growlnotify malformed object (unknown load command 9)
/usr/brew/Cellar/growlnotify/1.3: 3 files, 432K, built in 2 seconds

Then growlnotify fails:

% growlnotify -u -H localhost -s -m "bar" "foo"
dyld: Symbol not found: _kSecRandomDefault
  Referenced from: /usr/brew/bin/growlnotify
  Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
 in /usr/brew/bin/growlnotify
[1]    49936 trace trap  growlnotify -u -H localhost -s -m "bar" "foo"
@jacknagel
Copy link
Contributor

I see this issue as well; however, all we are doing is copying the pre-compiled binary into place, so this issue should be taken to the growlnotify project.

@jacknagel
Copy link
Contributor

Actually, it looks like 1.3 is a Lion-only build; are you on Snow Leopard, by chance?

@junkblocker
Copy link
Contributor Author

Yes, I am on Snow Leopard.

@jacknagel
Copy link
Contributor

Okay. Well short of putting a conditional in the formula to fall back to an older version on Leopard/Snow Leopard, the workaround is to:

$ cd $(brew --prefix)
$ brew versions growlnotify
1.3      git checkout 2e23ced /usr/local/Library/Formula/growlnotify.rb
1.2.2    git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
1.2      git checkout 0476235 /usr/local/Library/Formula/growlnotify.rb
$ git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
$ brew install growlnotify

(Note that if you have Homebrew installed somewhere besides /usr/local, that part will be different.)

@adamv
Copy link
Contributor

adamv commented Oct 28, 2011

Can we compile this from source? If not, we should consider removing it from Homebrew given the OS issues.

@jacknagel
Copy link
Contributor

I don't see a source download anywhere, +1 for removal.

@junkblocker
Copy link
Contributor Author

+1 for removal unless https://bitbucket.org/pmetzger/growl is acceptable and can be made to work for more than just Lion.

@adamv
Copy link
Contributor

adamv commented Dec 21, 2011

Removed.

@adamv adamv closed this as completed Dec 21, 2011
@aslilac
Copy link

aslilac commented Dec 22, 2011

@adamv
Copy link
Contributor

adamv commented Dec 22, 2011

Requiring Lion is a non-starter since we currently also support Snow Leopard.

@aslilac
Copy link

aslilac commented Dec 22, 2011

Even if it had Snow Leopard support I would be against it. I posted the link purely because @jacknagel said he didn't see one.

@adamv
Copy link
Contributor

adamv commented Dec 22, 2011

Gotcha.

@ColinHebert
Copy link
Contributor

You should take a look at
#8680
#8649

simeonwillbanks pushed a commit to simeonwillbanks/homebrew that referenced this issue Oct 30, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants