> I work on MacOSX 1.02 with apache1.3.11
> I try to install OpenSSL 0.95
> I choose UNIX install
> 
> #./config --prefix=/usr/local --openssldir=/usr/local/openssl threads no-asm
Is there any particular reason you pass 'threads' argument to ./config?
I mean are you going to "SSL-ize" some multi-threaded application? Or is
it just Apache? If the latter then it doesn't have to be compiled with
'threads' flag.
> => OK
> #make
> ...
> error:
> "/usr/bin/ld: Undefined symbols:
> _gmtime_r"
Yes, whenever OpenSSL is configured with threads we expect OS vendor to
provide gmtime_r function which apparently isn't provided by Apple. So
reconfigure it without 'threads' and recompile the whole thing. If
you're positive you need multi-threaded support, then consider either:

- asking Apple for the function (you probably have to figure out in what
extent multi-threading is actually supported);
- digging into the code, Apple documentation, everything possible and
solve the problem for yourself (in which case you're welcomed to
contribute back to OpenSSL:-);

Bottom line is as long as you pass 'threads' flag, you're on your own.

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

Reply via email to