openssl - Unable to install 32-bit Python with pyenv, despite appropriate flags set -
i'm looking install 2.6.6 python 32-bit pyenv on os x, get:
error: python ssl extension not compiled. missing openssl lib?
despite having consulted common build problems, , applying flags suggested there, installing xcode developer tools, problem persists. here full command:
cflags="-i$(xcrun --show-sdk-path)/usr/include -arch i386 -i$(brew --prefix openssl)/include" ldflags="-arch i386 -l$(brew --prefix openssl)/lib" configure_opts="--with-arch=i386" pyenv install 2.6.6
... builds 64-bit build, not need.
oddly, build works when following tried:
cflags="-i$(brew --prefix openssl)/include" ldflags="-l$(brew --prefix openssl)/lib" pyenv install 2.6.6
what missing? following log imply need openssl built i386 / 32-bit?
ld: warning: ignoring file /usr/local/opt/openssl/lib/libcrypto.dylib, file built x86_64 not architecture being linked (i386): /usr/local/opt/openssl/lib/libcrypto.dylibld: warning: ignoring file /usr/local/opt/openssl/lib/libssl.dylib, file built x86_64 not architecture being linked (i386): /usr/local/opt/openssl/lib/libssl.dylib
Comments
Post a Comment