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

Unable to run Cleos after eosio install via brew on Catalina #8235

Closed
ismyhc opened this issue Nov 22, 2019 · 12 comments
Closed

Unable to run Cleos after eosio install via brew on Catalina #8235

ismyhc opened this issue Nov 22, 2019 · 12 comments

Comments

@ismyhc
Copy link

ismyhc commented Nov 22, 2019

Trying to install eosio and use Cleos on Catalina is giving the following error:

OS: Catalina
Fresh install of brew

brew tap eosio/eosio
brew install eosio

then when running Cleos

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/cleos
  Reason: image not found

There is a dylib at that location, but the version is different.
what I see is /usr/local/opt/openssl/lib/libssl.1.1.1.dylib

Tried
brew update && brew upgrade
brew install openssl

brew remove openssl
brew install openssl

Any ideas?

@chesterliliang
Copy link

same issue

@bigonenice
Copy link

same isuue

@hkabesa
Copy link

hkabesa commented Nov 24, 2019

+1

1 similar comment
@orbachar
Copy link

+1

@spoonincode
Copy link
Contributor

This is ultimately due to homebrew removing openssl 1.0. We'll have a quick fix to rebuild our binaries with openssl 1.1; long term we need to investigate static linking openssl again.

@duongph223
Copy link

@spoonincode Please help me to fix this.

@parcool
Copy link

parcool commented Nov 27, 2019

$ dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
  Referenced from: /usr/local/bin/keosd
  Reason: image not found

macOS Majave.

@cymonkey
Copy link

Homebrew changed its version of Openssl to 1.1 days ago (Homebrew/homebrew-core@0349a7c and Homebrew/homebrew-core@b4b9c1c).
We can downgrade Openssl to the older version to temporarily fix this issue while waiting for the new rebuild to come (or do it manually):

brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/30fd2b68feb458656c2da2b91e577960b11c42f4/Formula/openssl.rb

@arezfuzin
Copy link

@hoang-dao your solution is working for mongodb but it will put issue for another package like postgres or telepresence.

@spoonincode
Copy link
Contributor

This is fixed in 1.8.7's build scripts as it explicitly seeks out version 1.1

@aiavci
Copy link

aiavci commented Feb 14, 2021

Homebrew changed its version of Openssl to 1.1 days ago (Homebrew/homebrew-core@0349a7c and Homebrew/homebrew-core@b4b9c1c).
We can downgrade Openssl to the older version to temporarily fix this issue while waiting for the new rebuild to come (or do it manually):

brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/30fd2b68feb458656c2da2b91e577960b11c42f4/Formula/openssl.rb

When I try this, I get:

Invalid usage: Installation of openssl from a GitHub commit URL is unsupported! brew extract openssl to a stable tap on GitHub instead.

@mmislam101
Copy link

brew install

I followed https://stackoverflow.com/a/59340180/3166719 successfully

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