On Tue, May 15, 2007 at 07:03:53PM +0200, [EMAIL PROTECTED] wrote:

> Hi,
> 
> I built and installed 0.9.8e from source, with config flag "shared" to also 
> build shared libraries. This was OK.
> 
> Then I built Apache with SSL support. The build succeeded but on start Apache 
> exits at once with
> "undefined symbol: SSL_CTX_sess_set_new_cb".
> 
> Then I built ans installed 0.9.8d and Apache the same way. That is working 
> fine.

This story is backwards, the symbol exists in the 0.9.8e library, but
not in the 0.9.8d library, because this was a macro in the 0.9.8d headers.

Sounds like you are using 0.9.8e headers with a 0.9.8d runtime, or a
similar mixed compilation environment, where the headers and libraries
don't match.

0.9.8d/src/distro/ssl/ssl.h:#define SSL_CTX_sess_set_new_cb(ctx,cb) 
((ctx)->new_session_cb=(cb))

0.9.8e/src/distro/ssl/ssl.h:void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int 
(*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to