mini_racer: dyld: Symbol not found: __ZN2v82V813InitializeICUEPKc
This occurs when server-rendering from React component. The gem install command actually works fine.
Any idea what I can do here to debug?
dyld: Symbol not found: __ZN2v82V813InitializeICUEPKc
Referenced from: /Users/jackmilton/.rvm/gems/ruby-2.7.2/gems/mini_racer-0.3.1/lib/mini_racer_extension.bundle
Expected in: flat namespace
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 21
I had this issue as well with my Rails 6.1.1 Install on Apple Silicon. I managed to get it fixed by updated to a beta version of mini_racer, and also updating Ruby to v2.7.2.
here’s the relevant thread: https://github.com/sqreen/ruby-libv8-node/issues/14
and the beta build for your Gem file:
🤯 i uninstalled
mini_racer,libv8-nodeandsq_mini_racerand then reinstalled them and amazingly it now works with 0.6.2. I had uninstalledmini_racercountless times, but i guess i never also uninstalled libv8-node at the same time.To answer your question, my Ruby 2.7.5 was installed with RVM when my mac was still on Big Sur (darwin-20). I have since updated to Monterey (darwin-21).
Thanks for your help!
I am getting the same error on Mac OSX with an M1 chip (arm64). I also tried ruby 2.7.0 and 2.6.6 und tried installing mini_racer and libv8 as x86_64 with
arch -x86_64 bundle installbut had no luckAwesome! 🎉
I’m collecting these kinds of issues currently to compile a troubleshooting guide. This platform difference is an important piece of it!
No longer can reproduce.
yup I’m running mini_racer (0.4.0) without any issues
Is the issue still resolved for you, @sweetppro using the latest released version of
mini_racer?