Same issue

Same issue

am 10.02.2007 18:18:57 von gamito

Hi,

After compiling openssl as shared, many errors compiling courier-imap=20
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Same issue

am 10.02.2007 18:54:02 von Glynn Clements

M=E1rio Gamito wrote:

> After compiling openssl as shared, many errors compiling courier-imap=
=20
> agains it gone away, but one persists:
>=20
> "/usr/local/src/courier-imap-4.1.2/tcpd/libcouriertls.c:216: undefine=
d
> reference to `RSA_generate_key'"

My copy of 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.

--=20
Glynn Clements
-
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

Re: Same issue

am 10.02.2007 19:20:54 von gamito

Hi,

> My copy of has this:
>=20
> /* 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)=
;
>=20
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html