Skip to contentSkip to conversation

Same issue

DISCUSSION Mário Gamito 2 participants 3 messages Feb 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

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'"

Any help would be appreciated.

Warm Regards,
Mário Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 5 lines · Mário Gamito

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.

Signature · 5 lines
Glynn Clements <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Hi,

Quoted 11 lines

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);
Quoted 2 lines

It may be that more recent versions of the library no longer have the old version of the function.

I've commented out the new version and set the old one. Recompiled openssl, but courier-imap still gives the same error :(

Warm Regards,
Mário Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html