Netflix / dynomite

A generic dynamo implementation for different k-v storage engines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: create a troubleshooting section in README for macOS dynomite installation

nonamewolf opened this issue · comments

(e.g - macOS):

  1. Create a section with installation steps:
  • brew install cmake autoconf libtool gcc automake openssl
  • export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
  1. Update README.MD
  2. 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.

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).