fireworm71 / veriumMiner

veriumMiner for solomining and pools
Other
59 stars 36 forks source link

troubles with compilation at mac #4

Open mozgit opened 6 years ago

mozgit commented 6 years ago

Hi, I had a hard time trying to compile the miner at mac. I had missing aclocal and openssl was not linked properly. I can imagine that this would be the case for many users, so these are two links which might be usefull: (Installing aclocal) https://gist.github.com/justinbellamy/2672db1c78f024f2d4fe

(linking openssl) https://www.anintegratedworld.com/mac-osx-fatal-error-opensslsha-h-file-not-found/

Regrards, mozgit

digitebs commented 6 years ago

@fireworm71 can you update wiki with this

@mozgit

brew install automake brew install openssl brew link openssl --force

export LDFLAGS="-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/local/opt/expat/lib" export CFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include" export CPPFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"