src/login-common/ssl-proxy-openssl.c:763: undefined reference to `SSL_CTX_set_info_callback'

If you get the following error when compiling dovecot:

src/login-common/ssl-proxy-openssl.c:763: undefined reference to `SSL_CTX_set_info_callback'

Then edit that file, eg:

cd /usr/local/directadmin/custombuild/dovecot-1.1.2
nano src/login-common/ssl-proxy-openssl.c

Go down to line 762/763 and find this code

    if (verbose_ssl)
        SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback);
        

and replace it with:

//    if (verbose_ssl)
//        SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback);

to uncomment it. Then type:

make
make install
 
dovecot/undefined_reference.txt · Last modified: 2010/02/22 05:04 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki