With a 32-bit openssl bit on OS X (thanks to the suggestions given here), I kick off the pyenv build once again, this time setting the flags to point to where I've built the 32-bit openssl to (/usr/local/ssl/
):
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include -arch i386 -I/usr/local/ssl/include" LDFLAGS="-arch i386 -L/usr/local/ssl/lib" CONFIGURE_OPTS="--with-arch=i386" pyenv install 2.6.6
The build fails again, again complaining that files in the /usr/local/opt/openssl/
are not 32-bit.
Why is the build still using the 64-bit openssl in /usr/local/opt/openssl/
?