squib icon indicating copy to clipboard operation
squib copied to clipboard

Squib post-installation with Gem on M1 Macbook error: dyld[xxxx] missing symbol called 'new'

Open HelloImKevo opened this issue 1 year ago • 1 comments

Describe the bug Squib version 0.19.0 appears to have successfully installed using ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [arm64-darwin22] on a Macbook M1, but something is busted under the hood -- the basic commands like squib new or squib help result in "missing symbol called" errors:

{11:53}~/GitProjects/SquibPlayground:master ✓ ➭ squib new test-game
dyld[6131]: missing symbol called
[1]    6131 abort      squib new test-game

To Reproduce I used a combination of Homebrew and rbenv to install Ruby 3.0.6, like:

brew install rbenv

rbenv init
rbenv install -l
rbenv install 3.0.6
rbenv global 3.0.6

Some Additional Tips
https://antran.app/2021/m1_mac_part2/
https://stackoverflow.com/questions/76618549/dyldxxxxx-missing-symbol-called-after-update-to-ruby-3-1-4
https://stackoverflow.com/questions/76447424/rails-on-m2-dyld-missing-symbol-called
https://stackoverflow.com/a/12150580/2329326

I also read through the open issue: https://github.com/andymeneely/squib/issues/375 to help get the initial installation to succeed, and this post on the BGG forums was helpful for troubleshooting: https://boardgamegeek.com/thread/2985750/issues-installing-macbook-m1-pro

Screenshots squib-terminal

Environment

  • OS: macOS Ventura 13.5
  • Ruby: 3.0.6
  • Gem: 3.2.33
  • Rbenv: 1.2.0

Check the following:

  • [x] I have updated Squib to the latest version.
  • [x] I have checked the Squib issues backlog for something similar
  • [ ] I have attempted to make a minimal script demonstrating my problem
  • [x] I have reviewed the Squib Docs and there's still a problem

HelloImKevo avatar Aug 19 '23 16:08 HelloImKevo

Same problem for me. I installed a Linux VM using UTM as a workaround...

rhydlewis avatar May 17 '24 11:05 rhydlewis