Skip to content

Instantly share code, notes, and snippets.

@jtbonhomme
Created November 27, 2016 13:23
Show Gist options
  • Save jtbonhomme/3a6862ed1354312fd1a57a98c72ae450 to your computer and use it in GitHub Desktop.
Save jtbonhomme/3a6862ed1354312fd1a57a98c72ae450 to your computer and use it in GitHub Desktop.
Solving "No rule to make target `/Users/xxxx/.pyenv/versions/3.5.0/lib/libpython3.5.dylib', needed by `dlib.so'. Stop." with pyenv

By default of CPython (and pyenv), the python executable will be generated as static linked and libpython*.dylib will not be generated.

Reinstall the python version and enable framework support (to generate .dylib)

env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install -v 3.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment