Last active
September 20, 2019 19:19
-
-
Save gigkokman/9aadc724c1d91602a1c03fee5fee87d8 to your computer and use it in GitHub Desktop.
Failed building wheel for psycopg2 <ld: library not found for -lssl> with pip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` ld: library not found for -lssl | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
error: command 'clang' failed with exit status 1``` | |
Point LDFLAGS to OpenSSL's lib & include directories | |
```env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install -r environments/development.txt``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment