Same issue

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=E1rio Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
gamito [ Sa, 10 Februar 2007 18:18 ] [ ID #1624878 ]

Re: Same issue

M=E1rio 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: undefine=
d
> 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) */
=09
/* 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 [at] gclements.plus.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Glynn Clements [ Sa, 10 Februar 2007 18:54 ] [ ID #1624879 ]

Re: Same issue

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) */
> =09
> /* 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=E1rio Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
gamito [ Sa, 10 Februar 2007 19:20 ] [ ID #1624880 ]
Linux » gmane.linux.admin » Same issue

Vorheriges Thema: Running a program as non root (not trivial)
Nächstes Thema: Error compiling courier-imap (problems with SSL/TLS)