Skip to content

Instantly share code, notes, and snippets.

@helloravi
Last active April 1, 2019 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helloravi/289d7a462db8ff2028795816d1552b33 to your computer and use it in GitHub Desktop.
Save helloravi/289d7a462db8ff2028795816d1552b33 to your computer and use it in GitHub Desktop.
Installing stellar-core on macos
Change -lboost_thread to -lboost_thread-mt in zagg-core/src/Makefile.am
-lcrypto error is an openssl problem in Macos - Fix it with this https://medium.com/@timmykko/using-openssl-library-with-macos-sierra-7807cfd47892
CXX=g++-6 ./configure --with-openssl=/usr/local/opt/openssl
In zagg-core/src/Makefile.am
stellar_core_CXXFLAGS = $(BOOST_CPPFLAGS) -I/usr/local/opt/openssl/include
stellar_core_LDFLAGS = -pthread -fPIC -std=c++11 -L/usr/local/opt/openssl/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment