dlopen : symbol not found in flat namespace '__ZN2v810ScriptData10PreCompileEPKci' on Mac m1 (Monterey)
Asked Answered
S

0

6

using Mac M1 - macOS Monterey 12.1

ruby version

ruby 2.6.9p207 (2021-11-24 revision 67954) [arm64-darwin21]

rails versions

Rails 5.1.5

After installing gem

gem install therubyracer -v '0.12.3' -- --with-v8-dir=/usr/local/opt/[email protected]

whenever I start the puma server/ rails server, getting this error.

dlopen(/Users/username/.asdf/installs/ruby/2.6.9/lib/ruby/gems/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle, 0x0009): symbol not found in flat namespace '__ZN2v810ScriptData10PreCompileEPKci' - /Users/username/.asdf/installs/ruby/2.6.9/lib/ruby/gems/2.6.0/gems/therubyracer-0.12.3/lib/v8/init.bundle (LoadError)

Spur answered 21/12, 2021 at 13:4 Comment(3)
did you solve this problem bro? i have the same issueTantra
I am also facing the same issue, any solutions?Margret
I have the same issue, how did you solve that?Trocar

© 2022 - 2024 — McMap. All rights reserved.