You're quite right, .dylib isn't added.
One thing I'm unsure about, though: most Unix implementations have the version part of the soname last in the file name, like libcrypto.so.0.9.6. You're patch indicates that MacOS X has it in the middle, like libcrypto.0.9.6.dylib. Is that really so? As soon as I have an answer on that question, I can submit an appropriate change. [[EMAIL PROTECTED] - Fri May 17 08:56:54 2002]: > hi all, > > i just built 0.9.6d on MacOSX Serve 10.1.4. all goes well, except that the > shared libs are created as "libcrypto" & "libssl" -- WITHOUT EXTENSIONS -- > , rather than the expected "libcrypto.dylib" & "libssl.dylib". > > i tried a simple: > > sentenv SHLIB_EXT ".dylib" > > prior to build to no avail ..... > > a patch 0.9.6b patch i'd mod'd for 0.9.6c (below) had worked fine ...... > there are some diffs in the diff, so i guess i'll have to plow thru 0.9.6d > as well ...... > > UNLESS, someone has a fix/suggestion/comment already!? please let me know > if you do ..... > > thanks! > > richard > > > -------------------------------------- > R Blake > [EMAIL PROTECTED] > http://homepage.mac.com/blakers > -------------------------------------- > > > here are the particulars: > > --- openssl-0.9.6c/Configure Thu Dec 6 05:11:39 2001 > +++ openssl-0.9.6c-patched/Configure Wed May 15 19:53:10 2002 > @@ -475,7 +475,7 @@ > > ##### MacOS X (a.k.a. Rhapsody or Darwin) setup > "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR > RC4_CHUNK DES_UNROLL BF_PTR:::", > -"darwin-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK > DES_UNROLL BF_PTR:::", > +"darwin-ppc-cc","cc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN OpenSSL > self-test report: > ============ [build] =================== > gnutar zxf openssl-0.9.6d.tar.gz;\ > cd gnutar zxf openssl-0.9.6d;\ > ./Configure no-threads shared darwin-ppc-cc;\ > make;\ > make install > > > ============ [testreport] =================== > OpenSSL version: 0.9.6d > Last change: Fix crypto/asn1/a_sign.c so that 'parameters' is omitte... > Options: no-threads shared > OS (uname): Darwin server.internal.presence-group.net 5.4 Darwin > Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; > root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC Power Macintosh > OS (config): ppc-apple-darwin > Target (default): darwin-ppc-cc > Target: darwin-ppc-cc > Compiler: Apple Computer, Inc. version gcc-934.3, based on gcc > version 2.95.2 19991024 (release) > > Test skipped. > > > ============ [openssl-0.9.6c-patch-for-OSX] =================== > > -DUSE_TOD::(unknown):::::::::::::darwin-shared:-fno-common:.\$(SHLIB_MAJOR) > .\$(SHLIB_MINOR).dylib", > > ##### Sony NEWS-OS 4.x > "newsos4-gcc","gcc:-O -DB_ENDIAN -DNEWS4::(unknown):-lmld > -liberty:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL > BF_PTR::::", > @@ -791,7 +791,7 @@ > } > if (!$no_shared) > { > - #$shared_mark = "\$(SHARED_LIBS)"; > + $shared_mark = "\$(SHARED_LIBS)"; > } > } > else > --- openssl-0.9.6c/Makefile.org Wed Nov 14 02:44:11 2001 > +++ openssl-0.9.6c-patched/Makefile.org Wed May 15 19:19:19 2002 > @@ -262,6 +262,17 @@ > libs="$$libs -l$$i"; \ > done > > +do_darwin-shared: > + libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \ > + ( set -x; ${CC} -dynamiclib -o lib$$i.${SHLIB_MAJOR}.${SHLIB_MINOR}.dylib > \ > + -install_name > ${INSTALLTOP}/lib/lib$$i.${SHLIB_MAJOR}.${SHLIB_MINOR}.dylib \ > + -compatibility_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \ > + -current_version ${SHLIB_MAJOR}.${SHLIB_MINOR} \ > + -all_load lib$$i.a \ > + $$libs ${EX_LIBS} ) || exit 1; \ > + libs="$$libs -l$$i"; \ > + done > + > DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ > collect2=`gcc -print-prog-name=collect2 2>&1` && \ > [ -n "$$collect2" ] && \ > --- openssl-0.9.6c/config Wed Dec 19 11:37:41 2001 > +++ openssl-0.9.6c-patched/config Wed May 15 19:22:05 2002 > @@ -200,6 +200,10 @@ > echo "${MACHINE}-whatever-openbsd"; exit 0 > ;; > > + Darwin:*) > + echo "'uname -p'-apple-darwin${RELEASE}"; exit 0 > + ;; > + > OpenUNIX:*) > echo "${MACHINE}-unknown-OpenUNIX${VERSION}"; exit 0 > ;; > @@ -528,6 +532,7 @@ > sun3*-*-netbsd) OUT="NetBSD-m68" ;; > *-*-netbsd) OUT="NetBSD-sparc" ;; > *86*-*-openbsd) OUT="OpenBSD-x86" ;; > + *-*-darwin*) OUT="Darwin" ;; > alpha*-*-openbsd) OUT="OpenBSD-alpha" ;; > pmax*-*-openbsd) OUT="OpenBSD-mips" ;; > *-*-openbsd) OUT="OpenBSD" ;; -- Richard Levitte [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
