All of lore.kernel.org
 help / color / mirror / Atom feed
* Same issue
@ 2007-02-10 17:18 Mário Gamito
  2007-02-10 17:54 ` Glynn Clements
  0 siblings, 1 reply; 3+ messages in thread
From: Mário Gamito @ 2007-02-10 17:18 UTC (permalink / raw)
  To: linux-admin

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Same issue
  2007-02-10 17:18 Same issue Mário Gamito
@ 2007-02-10 17:54 ` Glynn Clements
  2007-02-10 18:20   ` Mário Gamito
  0 siblings, 1 reply; 3+ messages in thread
From: Glynn Clements @ 2007-02-10 17:54 UTC (permalink / raw)
  To: Mário Gamito; +Cc: linux-admin


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@gclements.plus.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Same issue
  2007-02-10 17:54 ` Glynn Clements
@ 2007-02-10 18:20   ` Mário Gamito
  0 siblings, 0 replies; 3+ messages in thread
From: Mário Gamito @ 2007-02-10 18:20 UTC (permalink / raw)
  To: Glynn Clements; +Cc: linux-admin

Hi,

> 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.
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-10 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10 17:18 Same issue Mário Gamito
2007-02-10 17:54 ` Glynn Clements
2007-02-10 18:20   ` Mário Gamito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.