4.5.10 - Symbol not found: _memory_efficient_intersect

9 views
Skip to first unread message

David Lowenfels

unread,
Jul 23, 2012, 3:10:35 PM7/23/12
to picky...@googlegroups.com
Hi Florian,
FYI I'm getting another bundle error now:

(bash)[dfl@cosminyah gearroom]$ rails c
/Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/picky/loader.rb:56:in `require_relative': dlopen(/Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/performant.bundle, 9): Symbol not found: _memory_efficient_intersect (LoadError)
Referenced from: /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/performant.bundle
Expected in: flat namespace
in /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/performant.bundle - /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/performant.bundle
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/picky/loader.rb:56:in `load_framework_internals'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/picky/loader.rb:276:in `load_framework'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/picky.rb:41:in `<module:Picky>'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/picky-4.5.10/lib/picky.rb:1:in `<top (required)>'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:68:in `require'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:66:in `each'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:66:in `block in require'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:55:in `each'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler/runtime.rb:55:in `require'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/bundler-1.2.0.pre/lib/bundler.rb:126:in `require'
from /Users/dfl/work/gearroom/config/application.rb:7:in `<top (required)>'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/railties-3.2.6/lib/rails/commands.rb:39:in `require'
from /Users/dfl/.rvm/gems/ruby-1.9.3-p194@gearroom/gems/railties-3.2.6/lib/rails/commands.rb:39:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

Florian Hanke

unread,
Jul 23, 2012, 5:10:24 PM7/23/12
to picky...@googlegroups.com
Hi David,

What if you set CC to gcc?

Cheers,
Florian

Florian Hanke

unread,
Jul 23, 2012, 5:11:51 PM7/23/12
to picky...@googlegroups.com
P.S: When (un-, then re-)installing, I mean.

On 24.07.2012, at 05:10, David Lowenfels <da...@internautdesign.com> wrote:

Picky / Florian Hanke

unread,
Jul 23, 2012, 6:46:32 PM7/23/12
to picky...@googlegroups.com, da...@internautdesign.com
P.S: Sorry about the problems – this new error seems to be clang related as well, as far as I can tell.

David Lowenfels

unread,
Jul 23, 2012, 7:18:50 PM7/23/12
to picky...@googlegroups.com
hmm… seems to work when I do this in the Makefile:

CC = cc
CXX = g++

Picky / Florian Hanke

unread,
Jul 23, 2012, 7:58:00 PM7/23/12
to picky...@googlegroups.com, da...@internautdesign.com
Thanks! I probably will abort installation when somebody is using clang and tell them to use this, or CC=gcc. Thanks for all the feedback!

David Lowenfels

unread,
Jul 23, 2012, 8:04:19 PM7/23/12
to picky...@googlegroups.com
I'm confused, because previously it didn't work with gcc and I had to manually use clang. But this was a fresh install and it used clang automatically now.
Maybe you can just revert whatever you did to make it use clang?

Picky / Florian Hanke

unread,
Jul 23, 2012, 8:34:57 PM7/23/12
to picky...@googlegroups.com, da...@internautdesign.com
Now I am confused too.
I thought it only worked with gcc? See https://groups.google.com/d/msg/picky-ruby/8kuG8FkATgU/kKKz4tbYvYwJ.
What I understood was that it didn't work with clang and your using gcc made it work?
(That error I could reproduce – afaik we now have a new clang related error)

David Lowenfels

unread,
Jul 23, 2012, 8:54:12 PM7/23/12
to picky...@googlegroups.com
oh, sorry you are correct! I got it mixed up in my head.
it was ENV['CC'] that I was thinking of, which is the other way around.
CC=gcc gem install picky

-D

Picky / Florian Hanke

unread,
Jul 23, 2012, 8:57:52 PM7/23/12
to picky...@googlegroups.com, da...@internautdesign.com
Phew. Thanks for the clarification! (I'll look into the clang problem soon – the last one actually was related to a recent change in rack)
Reply all
Reply to author
Forward
0 new messages