rdp / google_hash

wrapper for google's hash functions, for ruby
BSD 3-Clause "New" or "Revised" License
92 stars 16 forks source link

Can't load gem in OSX #19

Closed danyal closed 10 years ago

danyal commented 12 years ago

I'm trying to use this in OSX. I installed the gem and google_hash both with brew and later by downloading directly from google code.

I'm getting the following error: LoadError: dlopen(/Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle, 9): Symbol not found: _inthash Referenced from: /Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle Expected in: flat namespace in /Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle - /Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from (irb):2 from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/bin/irb:16:in `

'

Any ideas?

rdp commented 12 years ago

Odd. As far as I know it does work in Linux. I hope to have a working OS X computer in a week or 2 so hopefully will be able to reproduce the problem then... -r

On Thu, Nov 22, 2012 at 4:40 PM, Danyal Anik notifications@github.comwrote:

I'm trying to use this in OSX. I installed the gem and google_hash both with brew and later by downloading directly from google code.

I'm getting the following error: LoadError: dlopen(/Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle, 9): Symbol not found: _inthash Referenced from: /Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle Expected in: flat namespace in

/Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle

/Users/danyal/.rvm/gems/ruby-1.9.3-p327/gems/google_hash-0.7.0/lib/google_hash.bundle from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from (irb):2 from /Users/danyal/.rvm/rubies/ruby-1.9.3-p327/bin/irb:16:in `'

Any ideas?

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/google_hash/issues/19.

danyal commented 12 years ago

Great. Let me know what you find. Thanks!

rdp commented 12 years ago

See also https://github.com/rdp/google_hash/issues/20 where somebody seems to have resolved it by reinstalling rvm? Could you try that too? :)

On Tue, Dec 4, 2012 at 5:05 PM, Danyal Anik notifications@github.comwrote:

Great. Let me know what you find. Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/google_hash/issues/19#issuecomment-11021746.

danyal commented 11 years ago

I am using RVM. I'll try tinkering some more though.

danyal commented 11 years ago

Tried tinkering a bit more. Reinstalled the package several times with no luck. Made sure I have the latest version of RVM as well. Any ideas?

rdp commented 11 years ago

which version of gcc?

On Sun, Dec 23, 2012 at 2:44 AM, Danyal Anik notifications@github.comwrote:

Tried tinkering a bit more. Reinstalled the package several times with no luck. Made sure I have the latest version of RVM as well. Any ideas?

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/google_hash/issues/19#issuecomment-11644556.

rdp commented 11 years ago

could you try http://rogerdpack.t28.net/incoming/google_hash-0.8.0.gem please?

danyal commented 11 years ago

Works great! Thanks!