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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

๐Ÿ‘‹ Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay