DEV Community

Kentaro0919
Kentaro0919

Posted on

install guile to mac

I like to use mise for my tools.
But I was not able to install guile.

First trouble:
I had gpg error like last post. I was able to sorbe this with

gpg --receive-keys 645357D2883A0966
Enter fullscreen mode Exit fullscreen mode

Second trouble:
Guile was not running.
After

mise use  guile@3.0.10
Enter fullscreen mode Exit fullscreen mode

guile was installed but when I run

guile --version
Enter fullscreen mode Exit fullscreen mode

Return with an error.

guile was not running. It was the same for guile@3.0.9

guile --version
dyld[3069]: Library not loaded: /usr/local/opt/bdw-gc/lib/libgc.1.dylib
  Referenced from: <3F095348-0DF5-3FA1-8D70-CD619E3FAB13> /Users/kentarom/.local/share/mise/installs/guile/3.0.9/bin/guile
  Reason: tried: '/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file), '/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file)

Enter fullscreen mode Exit fullscreen mode

I installed with homebrew

brew install guile
Enter fullscreen mode Exit fullscreen mode

and followed the instruction

The formula built, but is not symlinked into /usr/local
Could not symlink bin/guild
Target /usr/local/bin/guild
already exists. You may want to remove it:
  rm '/usr/local/bin/guild'

To force the link and overwrite all conflicting files:
  brew link --overwrite guile

To list all files that would be deleted:
  brew link --overwrite guile --dry-run
Enter fullscreen mode Exit fullscreen mode
guile --version
guile (GNU Guile) 3.0.10
Copyright (C) 2024 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Enter fullscreen mode Exit fullscreen mode

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay