Apache 2.4 编译 configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto

编译 httpd 时会有如下警告
configure: WARNING: apr/apr-util is compiled without ldap support
configure: WARNING: apr/apr-util is compiled without ldap support
configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto
 
In reply to this post by Smith, Mitchell

Yes, I found I needed to compile APR and APR-Util seperatly.  From my notes here is what I did (ymmv)


Required separate config for apr as per this [Link]  (On Centos 6.3)

make apr
    cd apr-1.4.6
    ./configure --enable-layout=RedHat
    make
    sudo make install

make apr-util
    svn checkout http://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x/
    ./buildconf --with-apr=../apr-1.4.6
    ./configure --enable-layout=RedHat --with-crypto --with-ldap=ldap --with-openssl --with-mysql --with-apr=../apr-1.4.6
    make
    sudo make install

configure httpd
    ./configure --enable-layout=RedHat --with-apr=../apr-1.4.6 --with-apr-util=../apr-util/1.4.6   /
    --enable-proxy-ajp   --enable-proxy-express  --enable-session --with-ldap --enable-so          /
    --enable-authn-socache --enable-mods-shared="all ssl ldap cache proxy authn_alias file_cache   /
    authnz_ldap charset_lite dav_lock cache_disk"
    make
    sudo make install

 
ajp for JBoss reverse proxy
Session for SSO Login

Good Luck,

Billy Baker

 

http://apache-http-server.18135.x6.nabble.com/Apache-2-4-Configure-with-ldap-support-td5003491.html

Apache 2.4 编译 configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto

上一篇:[SWPU2019]Web1


下一篇:Selenium学习:find_element_by_css_selector()的两种方法