Steve Quirk <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sun, 6 Jan 2002, Pier Fumagalli wrote:
> 
>> My hint - or solution :( is to remove the /usr/lib/libcrypto.* and
>> /usr/lib/libssl.* _BEFORE_ compiling OpenSSL....
> 
> Removing libssl.* and libcrypt.* is a BAD idea - you'll break some
> important stuff that's linked against them.  E.g. Mail's Message
> framework:
> 
> localhost> ldd /System/Library/Frameworks/Message.framework/Message
> /System/Library/Frameworks/Message.framework/Message:
> ...
> /usr/lib/libcrypto.0.9.dylib (compatibility version 0.9.0, current version
> 0.9.6)
> ...
> 
> Just rm the symlinks libssl.dylib and libcrypo.dylib, leaving the real
> libs (libX.0.9.dylib):
> 
> /usr/lib/libcrypto.dylib -> libcrypto.0.9.dylib
> /usr/lib/libssl.dylib -> libssl.0.9.dylib

Yeah, I meant, move 'em out of the way (I usually move em into another
directory and then restore them)...

>> The patch by itself (attached) fixes just the "config" script and some
>> definitions around the source files (not much)... The only thing I'm
>> concerned about is about the gmtime/gmtime_r differences... AFAICS there's
>> no gmtime_r under OS/X, so when compiling with threading support, I had to
>> rely on gmtime... And I don't know if that screws the whole thing up.
> 
> I've applied the patches on 0.9.6. I'm in the process of building - I'll
> let you know how it comes out.  In any case, these patches should be
> modified and applied to 0.9.7.

Great... I don't have commit access, so, it's up to you guys whether you
want to keep it or not...

>> BTW, is there interest in a "Cocoa-Framework" style of build in the main
>> development tree? It's a pretty cool feature of OS/X for dynamic libraries,
>> with support for versioning and stuff... I'm working on it right now...
> 
> IMO, sometimes a lib is just a lib.  openssl is a lib on all
> (other) platforms, I don't think marginalizing X would be a good thing.
> BUT - if you wanted to make a complete Cocoa cover for it, then that would
> probably be an interesting framework.

The framework would have been a cool idea since you can bundle several
versions, with several revisions of the include file in one only place...
But too bad since the "-framework" option of CC doesn't currently work with
the latest release of the developers tools (darn)...

If one day they'll decide to support their own cool ideas, I might give it a
shot... (Well, it's just a small patch to the Makefile for installations)...

    Pier

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to