Re: any insights? upgrade from OpenSSL v0.9.7 --> 0.9.8 changes linking behavior on OSX
Re: any insights? upgrade from OpenSSL v0.9.7 --> 0.9.8 changes linking behavior on OSX
- Subject: Re: any insights? upgrade from OpenSSL v0.9.7 --> 0.9.8 changes linking behavior on OSX
- From: OpenMacNews <email@hidden>
- Date: Tue, 19 Jul 2005 09:34:35 -0700
hi,
well for comparison's sake, two versions of openssl (0.9.7g/0.9.8) built on the
same box:
% uname -a
Darwin devbox 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT
2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc
% gcc --version
powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc. build 5026)
for VERSION 0.9.7g:
./Configure \
--prefix=/usr/local/ssl097g \
--openssldir=/usr/local/ssl097g \
darwin-ppc-cc \
-DUSE_TOD \
threads \
shared \
no-idea
make
make depend
make install
results in:
otool -L /usr/local/ssl097/lib/libssl.0.9.7.dylib
/usr/local/ssl097g/lib/libssl.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
/usr/local/ssl097g/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
while, for VERSION 0.9.8:
./Configure \
--prefix=/usr/local/ssl098 \
--openssldir=/usr/local/ssl098 \
darwin-ppc-cc \
-DUSE_TOD \
threads \
shared \
no-idea
make
make depend
make install
results in:
otool -L /usr/local/ssl098/lib/libssl.0.9.8.dylib
libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
88.0.0)
again, NOTE the missing "/usr/local/ssl09*/lib" prepending the libssl/libcrypto
components for v0.9.8.
so, there's a difference ... but not clear (yet) whether it's due to OpenSSL or
Apple's build system. again, openssl dev sez it's Mac -- but no
details/reason :-(
cheers,
richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden