I installed sqlite3
using homebrew
in order to use the newer version than the system-wide version supplied by OS X.
Now I want to install Python 3.4.3 using pyenv
and guide the build process to use the sqlite3
installed by homebrew
rather than the OS X's version.
I found this: Compile Python 3.4 with sqlite3, and tried adapting it to work with pyenv
, but failed - the installed Python 3.4.3 still links with the OS X sqlite3
. The command I tried:
env LD_RUN_PATH="/usr/local/opt" LDFLAGS="-L/usr/local/opt" CPPFLAGS="-I/usr/local/include" pyenv install 3.4.3
What is the correct way of doing it with pyenv
?