I downloaded OpenSSL 0.9.8t and tried to build it under Mac OS X 10.6.8. I want to build a dynamic library with both 32-bit and 64-bit (Universal binary). I tried various flag with the Configure script but failed. Here are the parameters I feed to 'Configure': ./Configure threads shared no-hw zlib-dynamic no-idea no-rc2 no-rc4 no-rc5 no-camellia no-bf darwin64-x86_64-cc:gcc -pipe -Wno-trigraphs -fmessage-length=0 -fpascal-strings -fasm-blocks -mmacosx-version-min=10.6 ( I got some of the compiler flags from the 'version -a' command in 'openssl' command line, which is shipped with Mac OS X. )
1. After I run ' make install', the libraries generated in /usr/local/ssl/lib are still libcrypto.a and libssl.a, why? Doesn't the 'shared' flag control that? 2. The 'SHLIB_EXT' macro in Makefile is changed from .$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib to an empty string. What triggers that? 3. The -OPENSSL_NO_RFC3779 CFLAG is always there, even if I feed the 'rfc3779' parameter to 'Configure'. Why? How to fix that? Can someone shed some light on these questions? Alex