没法子啊;只能用
httpd-2.2.26
==============================
https://www.google.com.hk/#newwindow=1&q=undefined+symbol:+ap_log_rerror&safe=strict
undefined symbol: ap_log_rerror
[root@localhost local]# vi apache2/conf/httpd.conf
[root@localhost local]# ./apache2/bin/apachectl start
httpd: Syntax error on line 151 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/mod_wl_22.so into server: /usr/local/apache2/modules/mod_wl_22.so: undefined symbol: ap_log_rerror
[root@localhost local]# ldd -v -r ./apache2/modules/mod_wl
mod_wl128_20.so mod_wl128_22.so mod_wl_20.so mod_wl_22.so
[root@localhost local]# ldd -v -r ./apache2/modules/mod_wl_22.so
linux-vdso.so.1 => (0x00007fff57745000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00007faad87ab000)
libm.so.6 => /lib64/libm.so.6 (0x00007faad8527000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007faad8310000)
libc.so.6 => /lib64/libc.so.6 (0x00007faad7f91000)
/lib64/ld-linux-x86-64.so.2 (0x0000003887c00000)
undefined symbol: apr_pool_cleanup_null (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_log_rerror (./apache2/modules/mod_wl_22.so)
undefined symbol: dlerror (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_hook_post_config (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_add (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_hook_handler (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_pregcomp (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_regexec (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_global_mutex_lock (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_hook_child_init (./apache2/modules/mod_wl_22.so)
undefined symbol: unixd_set_global_mutex_perms (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_pregfree (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_setup_client_block (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_set (./apache2/modules/mod_wl_22.so)
undefined symbol: dlclose (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_pool_cleanup_register (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_mpm_query (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_copy (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_global_mutex_create (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_no2slash (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_pstrdup (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_unescape_url (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_unset (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_get_server_name (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_rputs (./apache2/modules/mod_wl_22.so)
undefined symbol: dlopen (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_log_error (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_setn (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_global_mutex_unlock (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_get (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_psprintf (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_thread_create (./apache2/modules/mod_wl_22.so)
undefined symbol: dlsym (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_palloc (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_matches_request_vhost (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_pstrcat (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_should_client_block (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_make (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_global_mutex_child_init (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_rwrite (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_table_elts (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_strcmp_match (./apache2/modules/mod_wl_22.so)
undefined symbol: pthread_mutexattr_init (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_get_client_block (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_hook_fixups (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_pool_userdata_set (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_getword_nc (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_get_server_port (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_rflush (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_construct_url (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_rprintf (./apache2/modules/mod_wl_22.so)
undefined symbol: ap_is_matchexp (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_global_mutex_destroy (./apache2/modules/mod_wl_22.so)
undefined symbol: apr_pool_userdata_get (./apache2/modules/mod_wl_22.so)
Version information:
./apache2/modules/mod_wl_22.so:
libgcc_s.so.1 (GCC_3.0) => /lib64/libgcc_s.so.1
libstdc++.so.5 (GLIBCPP_3.2) => /usr/lib64/libstdc++.so.5
libstdc++.so.5 (CXXABI_1.2) => /usr/lib64/libstdc++.so.5
libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6/usr/lib64/libstdc++.so.5:
libgcc_s.so.1 (GCC_3.3) => /lib64/libgcc_s.so.1
libgcc_s.so.1 (GCC_3.0) => /lib64/libgcc_s.so.1
libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6/lib64/libm.so.6:
libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6/lib64/libgcc_s.so.1:
libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6/lib64/libc.so.6:
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
[root@localhost local]# ldd -v -r ./apache2/modules/mod_wl_22.so
================================
参考地址: