Suggestion: create a troubleshooting section in README for macOS dynomite installation
nonamewolf opened this issue · 1 comments
nonamewolf commented
(e.g - macOS):
- Create a section with installation steps:
brew install cmake autoconf libtool gcc automake openssl
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
- Update README.MD
- Update build.sh(force linking openssl doesn't work anymore)
I've wasted a lot of time trying to resolve openssl dependency issue, by applying solutions which are not relevant anymore. Hope a few simple steps above will save some time for other folks.
gaultier commented
Thanks, it helped. Not sure if cmake is required though.
I for my part made it work by doing:
autoreconf -fvi
./configure
make -j4 CFLAGS=-I/usr/local/Cellar/openssl@1.1/1.1.1g/include LDFLAGS="-L/usr/local/Cellar/openssl@1.1/1.1.1g/lib"
because openssl headers and libraries could not be found (because Apple ships an old version of openssl in the default paths, so when doing brew install openssl
to get a newer version, this is not put in the default search paths to avoid overriding the Apple version).