Mário Gamito wrote: > After compiling openssl as shared, many errors compiling courier-imap > agains it gone away, but one persists: > > "/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:216: undefined > reference to `RSA_generate_key'" My copy of <openssl/rsa.h> has this: /* Deprecated version */ #ifndef OPENSSL_NO_DEPRECATED RSA * RSA_generate_key(int bits, unsigned long e,void (*callback)(int,int,void *),void *cb_arg); #endif /* !defined(OPENSSL_NO_DEPRECATED) */ /* New version */ int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); It may be that more recent versions of the library no longer have the old version of the function. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html