Macaulay2 / homebrew-tap

The Macaulay2 tap for Homebrew
7 stars 6 forks source link

Problems with gfan on MacOS intel. #174

Closed ggsmith closed 10 months ago

ggsmith commented 1 year ago

Below are (what I believe to be) the relevant error messages. In particular, the error seems to be related to "libgcc_s".


sh: line 1: 20767 Abort trap: 6           /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20769 Abort trap: 6           /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20771 Abort trap: 6           /usr/local/bin/gfan --help > /dev/null 2>&1
sh: line 1: 20773 Abort trap: 6           /usr/local/bin/gfan --help > /dev/null 2>&1
stdio:5:1:(3): error: could not find gfan

i6 : exit
Hylozoist|ggsmith:~/Repository % /usr/local/bin/gfan --help
dyld[20785]: Library not loaded: /usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib
  Referenced from: <CBB75610-FD33-3E0E-8C58-177E665FAEB2> /usr/local/Cellar/gfan/0.6.2_10/bin/gfan
  Reason: tried: '/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/usr/local/opt/gcc/lib/gcc/current/libgcc_s.1.1.dylib' (no such file), '/usr/local/lib/libgcc_s.1.1.dylib' (no such file), '/usr/lib/libgcc_s.1.1.dylib' (no such file, not in dyld cache)
zsh: abort      /usr/local/bin/gfan --help'''
mahrud commented 1 year ago

Does brew test gfan fail? I'm not sure why we keep having issues with gfan in particular, but fortunately it's a small enough program that it's easy to rebuild locally:

brew remove gfan --ignore-dependencies
brew install gfan --build-bottle

Let me know if that works!

ggsmith commented 1 year ago

Rebuilding locally did work.