Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install from homebrew #606

Open
asterite opened this issue May 25, 2023 · 6 comments
Open

Can't install from homebrew #606

asterite opened this issue May 25, 2023 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@asterite
Copy link
Contributor

$ brew install mint-lang
==> Fetching mint-lang/mint-lang/mint-lang
==> Downloading https://github.com/mint-lang/mint/releases/download/0.17.0/mint-0.17.0-osx
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65b
######################################################################################### 100.0%
Error: mint-lang: SHA256 mismatch
Expected: ebc67f17eeca18cf8187791ad6b496610064b522eec97bc42fbc59266c5d1761
  Actual: 017468e8a34e68fc5eb011a09fb6bc516aab2e738ed0c11080762377faab9fb9
    File: /Users/aryborenszweig/Library/Caches/Homebrew/downloads/0c379ea78842c93d69a2c6e690cd35c6cfa0865e254484192c93656d6f1568ff--mint-0.17.0-osx
To retry an incomplete download, remove the file above.
@gdotdesign
Copy link
Member

Oops, forgot to bump the version number 🤦 sorry about that, should be fixed with this mint-lang/homebrew-mint-lang@fe7ccba

@asterite
Copy link
Contributor Author

Thank you, it works!

Now I get this, but it's the usual ssl error:

dyld[15351]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
  Referenced from: /opt/homebrew/Cellar/mint-lang/0.18.0/bin/mint
  Reason: tried: '/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (no such file), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
[1]    15351 abort      mint

@hectorAguero
Copy link

@asterite how do you fix the last error, I cant find another issue similar.

Already tried, brew link openssl@1.1 --force but nothing happens

@asterite
Copy link
Contributor Author

I couldn't

@Sija Sija reopened this Jul 31, 2023
@Sija Sija added the help wanted Extra attention is needed label Sep 3, 2023
@Sija Sija pinned this issue Sep 3, 2023
@spritefullake
Copy link

My homebrew-installed Mint also had the same error. So I built mint from source following the steps on the installation page. Now my mint doesn't have any error.

@fabasoad
Copy link

fabasoad commented May 1, 2024

Thank you, it works!

Now I get this, but it's the usual ssl error:

dyld[15351]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
  Referenced from: /opt/homebrew/Cellar/mint-lang/0.18.0/bin/mint
  Reason: tried: '/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (no such file), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file)
[1]    15351 abort      mint

This happens on ARM machines. I played around it and was able to ln to the correct openssl but then a new error showed up that revealed the real problem:

dyld[3671]: Library not loaded: /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib
<...>
  Reason: tried: '/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (no such file), '/usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/openssl@1.1/1.1.1w/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/openssl@1.1/1.1.1w/lib/libssl.1.1.dylib' (no such file), '/opt/homebrew/Cellar/openssl@1.1/1.1.1w/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file, not in dyld cache)

I've already opened a ticket #689 to add ARM binaries. It should solve the real cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

6 participants