Closed edsu closed 5 years ago
Hey @edsu this PR #99 resolves the issue, it will be available on pypi soon 😄
for people with M1 Mac and leveldb is installed, add homebrew path (to .bashrc or .zshrc) so clang linker can find the header
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
export CPATH="$CPATH:$(brew --prefix)/include"
This last comment was a game changer for ElectrumX on macOS. I'm adding these CPATH and LIBRARY_PATH for brew will just fix so many other things. Thank-you AAA+
How do you provide a cutom path for leveldb headers? I am compiling leveldb from source on a custom path as well.
I'm running into this install error with pip on OSX 10.14.3 (Mojave). It looks like the compile step can't find
leveldb/db.h
but I brew installed leveldb with Homebrew.Here are the Homebrew details:
And I can see the header files are installed, I guess setup.py isn't looking for them in
/usr/local/include/leveldb/
?