dyld: lazy symbol binding failed: Symbol not found
EverybodyKurts opened this issue · 1 comments
EverybodyKurts commented
Hey all,
Whenever I try to run the rails console, I get this error from rubyracer. I've already blown away the gemset and reinstalled all the gems and I still get the same error everytime.
I'm currently on OS/X Sierra. I've already ran updated the xcode developer cli tools via sudo xcode-select --install
.
Any help would be much appreciated.
╰─➤ bundle exec rails c
dyld: lazy symbol binding failed: Symbol not found: __ZN2v82V821AddGCPrologueCallbackEPFvNS_6GCTypeENS_15GCCallbackFlagsEES1_
Referenced from: /Users/mueller.128/.rvm/gems/ruby-2.3.1@internships/gems/therubyracer-0.12.2/lib/v8/init.bundle
Expected in: flat namespace
dyld: Symbol not found: __ZN2v82V821AddGCPrologueCallbackEPFvNS_6GCTypeENS_15GCCallbackFlagsEES1_
Referenced from: /Users/mueller.128/.rvm/gems/ruby-2.3.1@internships/gems/therubyracer-0.12.2/lib/v8/init.bundle
Expected in: flat namespace
[1] 11497 abort bundle exec rails c
EverybodyKurts commented
I fixed this by doing:
gem uninstall therubyracer
gem uninstall libv8
brew uninstall v8
brew install v8
gem install libv8
gem install therubyracer