rdp / google_hash

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

complains "undefined symbol: inthash" on ubuntu 12.04 #20

Closed stico closed 11 years ago

stico commented 11 years ago

----------------------------Notes Success to install but failed to use 0.7.0 Failed to install 0.6.2 version (complains "fatal error: google/dense_hash_map: No such file or directory") Is there any library confliction? I'm freshman to ruby, pls tell me if I missed anything.

----------------------------ERROR Msg bundle exec ruby $MY_CODE_REPO/ruby/sample/lib/sample/sample.rb /ext/home_vmdk/dev/code_repo/ruby/sample/sample.gemspec:17: warning: Insecure world writable dir /home/ouyangzhu/dev/maven/bin in PATH, mode 040777 /ext/home_vmdk/dev/code_repo/ruby/sample/sample.gemspec:17: warning: Insecure world writable dir /home/ouyangzhu/dev/maven/bin in PATH, mode 040777 /home/ouyangzhu/dev/code_repo/ruby/sample/lib/sample/sample.rb:2:in require': /home/ouyangzhu/.rvm/gems/ruby-1.9.3-p286@global/gems/google_hash-0.7.0/lib/google_hash.so: undefined symbol: inthash - /home/ouyangzhu/.rvm/gems/ruby-1.9.3-p286@global/gems/google_hash-0.7.0/lib/google_hash.so (LoadError) from /home/ouyangzhu/dev/code_repo/ruby/sample/lib/sample/sample.rb:2:in

'

shell returned 1

----------------------------Envirnment Ubunut Desktop 12.04 RVM

* LOCAL GEMS * actionmailer (3.2.9) actionpack (3.2.9) activemodel (3.2.9) activesupport (3.2.9) addressable (2.3.2) builder (3.0.4) bundler (1.2.1) erubis (2.7.0) google_hash (0.7.0) hike (1.2.1) i18n (0.6.1) journey (1.0.4) mail (2.4.4) mime-types (1.19) multi_json (1.3.7) mysql2 (0.3.11) os (0.9.6) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-test (0.6.2) rake (10.0.2, 10.0.1, 0.9.2.2) ruby_parser (2.0.6) rubygems-bundler (1.1.0) rvm (1.11.3.5) sane (0.25.5) sexp_processor (3.2.0) sprockets (2.2.2, 2.2.1) tilt (1.3.3) treetop (1.4.12) update_ensure (0.0.1)

rdp commented 11 years ago

Odd it works here for me. is this 64 bit ubuntu?

On Tue, Dec 4, 2012 at 6:19 AM, stico notifications@github.com wrote:

----------------------------Notes Failed to use 0.7.0 version, and also failed to install 0.6.2 version (complains "fatal error: google/dense_hash_map: No such file or directory") Is there any library confliction? I'm freshman to ruby, pls tell me if I missed anything.

----------------------------ERROR Msg bundle exec ruby $MY_CODE_REPO/ruby/sample/lib/sample/sample.rb /ext/home_vmdk/dev/code_repo/ruby/sample/sample.gemspec:17: warning: Insecure world writable dir /home/ouyangzhu/dev/maven/bin in PATH, mode 040777 /ext/home_vmdk/dev/code_repo/ruby/sample/sample.gemspec:17: warning: Insecure world writable dir /home/ouyangzhu/dev/maven/bin in PATH, mode 040777 /home/ouyangzhu/dev/code_repo/ruby/sample/lib/sample/sample.rb:2:in require': /home/ouyangzhu/.rvm/gems/ruby-1.9.3-p286@global/gems/google_hash-0.7.0/lib/google_hash.so: undefined symbol: inthash - /home/ouyangzhu/.rvm/gems/ruby-1.9.3-p286@global/gems/google_hash-0.7.0/lib/google_hash.so (LoadError) from /home/ouyangzhu/dev/code_repo/ruby/sample/lib/sample/sample.rb:2:in'

shell returned 1

----------------------------Envirnment Ubunut Desktop 12.04 RVM

* LOCAL GEMS * actionmailer (3.2.9) actionpack (3.2.9) activemodel (3.2.9) activesupport (3.2.9) addressable (2.3.2) builder (3.0.4) bundler (1.2.1) erubis (2.7.0) google_hash (0.7.0) hike (1.2.1) i18n (0.6.1) journey (1.0.4) mail (2.4.4) mime-types (1.19) multi_json (1.3.7) mysql2 (0.3.11) os (0.9.6) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-test (0.6.2) rake (10.0.2, 10.0.1, 0.9.2.2) ruby_parser (2.0.6) rubygems-bundler (1.1.0) rvm (1.11.3.5) sane (0.25.5) sexp_processor (3.2.0) sprockets (2.2.2, 2.2.1) tilt (1.3.3) treetop (1.4.12) update_ensure (0.0.1)

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

stico commented 11 years ago

Sorry to bother. Everything works great after a rebuild everything, and installed the latest RVM,