Skip to content

Instantly share code, notes, and snippets.

@gigkokman
Last active September 20, 2019 19:19
Show Gist options
  • Save gigkokman/9aadc724c1d91602a1c03fee5fee87d8 to your computer and use it in GitHub Desktop.
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
``` 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