Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

missing libgcc_s.1.dylib? #231

Closed
ghost opened this issue Jan 31, 2016 · 3 comments
Closed

missing libgcc_s.1.dylib? #231

ghost opened this issue Jan 31, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 31, 2016

Haskell Platform 7.10.3 64bit.pkg

$ otool -L /Library/Frameworks/GHC.framework//Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3/libHSghc-prim-0.4.0.0-8TmvWUcS1U1IKHT0levwg3-ghc7.10.3.dylib
/Library/Frameworks/GHC.framework//Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3/libHSghc-prim-0.4.0.0-8TmvWUcS1U1IKHT0levwg3-ghc7.10.3.dylib:
    @rpath/libHSghc-prim-0.4.0.0-8TmvWUcS1U1IKHT0levwg3-ghc7.10.3.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.1.1)
    /usr/local/lib/gcc/5/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
@ghost
Copy link
Author

ghost commented Jan 31, 2016

Apparently,

$ strings /Library/Frameworks/GHC.framework/Versions/Current/usr/lib/ghc-7.10.3/rts/libHSrts.a | grep gcc
...
/usr/local/Cellar/gcc/5.2.0/lib/gcc/5/gcc/x86_64-apple-darwin15.0.0/5.2.0/include
...

@ghost
Copy link
Author

ghost commented Jan 31, 2016

This resolves

$ brew tap homebrew/versions
$ brew install homebrew/versions/gcc5
$ ls /usr/local/lib/gcc/5/libgcc_s.1.dylib
/usr/local/lib/gcc/5/libgcc_s.1.dylib

@loshlee
Copy link

loshlee commented Mar 19, 2020

I needed to change "brew install homebrew/versions/gcc5" to
"brew install homebrew/versions/gcc@5" for my version.

Output of "brew --version"
Homebrew 2.2.10
Homebrew/homebrew-core (git revision 9584a9; last commit 2020-03-18)
Homebrew/homebrew-cask (git revision 77d48; last commit 2020-03-19)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant