Steve Quirk <[EMAIL PROTECTED]> wrote:

> Ok.  I figured out what I did wrong - I didn't follow my own advice: seems
> /usr/lib/libssl.dyld and /usr/lib/libcrypt.dyld got reinstalled by one of
> the upgrades and I linked against the wrong lib.  Re-removing them fixed
> it.
> 
> So here's what works:
>  rm /usr/lib/libssl.dyld /usr/lib/libcrypt.dyld
>  ./Configure shared -DUSE_TOD --openssldir=/usr/local \
> --prefix=/usr/local darwin-ppc-cc
>  make && make tests
> 
> There is a warning about _crypt being defined in libSystem, it (seems to)
> work anyway.
> 
> "Configure threads ..." seems to be a problem because Apple
> doesn't provide gmtime_r().  Some hacking is required if you need it.
> IMO, the #ifdef idiom for things like this would be better
>   #if defined(NO_GMTIME_R)
>       ts=gmtime(&t);
>   #else
>       gmtime_r(&t, &data);
>       ts = &data;
>   #endif
> and allow Configure to set the proper -Dfoo.  The code seems to be riddled
> with expedient platform hacks (e.g. #if THISOS || THATOS || ANOTHEROS).
> 
> "Configure shared ..." doesn't seem to be directly supported either.
> Everything compiles & links, but no .so or .dyld libraries are created.
> Did I miss something?  IIRC, you have to do some funky make invocations to
> get this (SHLIB_EXT=.dyld &etc).
> 
> I'm not exactly sure what you mean by "partial configure", though.

Did you see the patch I submitted Friday on that? 0.9.6c compiles just fine
on Darwin, given that patch... At least on my system with threading and
shared library support... BTW, I'm using 10.1.2 (Darwin Kernel Version 5.2)
with the latest developers tools...

    Pier

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

Reply via email to