You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/10/06 16:52:09 UTC

[Bug 66297] Undefined symbol: RAND_egd modules/ssl/.libs/libmod_ssl.a(ssl_engine_rand.o)

https://bz.apache.org/bugzilla/show_bug.cgi?id=66297

--- Comment #1 from Rainer Jung <ra...@kippdata.de> ---
There seems to be an OpenSSL header file mixup.

When OpenSSL is compiled, it detects egd support. The definition of RAND_egd()
in openssl/rand.h is protected by an

# ifndef OPENSSL_NO_EGD

and in (my) openssl/opensslconf.h I find:

#ifndef OPENSSL_NO_EGD
# define OPENSSL_NO_EGD
#endif

When httpd gets compiled, its configure script checks for RAND_egd via

      AC_CHECK_FUNCS([ENGINE_init ENGINE_load_builtin_engines RAND_egd])

and sets HAVE_RAND_EGD in include/ap_config_auto.h. For my build there is:

/* #undef HAVE_RAND_EGD */

Configure output and config.log also show

checking for RAND_egd... no

So it seems the OpenSSL which is found and used by configure supports RAND_egd
(resp. OPENSSL_NO_EGD is undefined) but the one used for the compilation does
not.

Please check configure output and the definitions in the quoted header file, to
find, where things start to go wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org