Find the answer to your Linux question:
Results 1 to 6 of 6
I am unable to compile Apache-2.2.22 with OpenSSL-1.0.1 on RHEL5.7 (32-bit). I have existing apache 2.2.21 with OpenSSL-1.0.0e and I need to upgrade apache as well as OpenSSL to the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2012
    Posts
    16

    Unable to compile Apache-2.2.22 with OpenSSL-1.0.1


    I am unable to compile Apache-2.2.22 with OpenSSL-1.0.1 on RHEL5.7 (32-bit).

    I have existing apache 2.2.21 with OpenSSL-1.0.0e and I need to upgrade apache as well as OpenSSL to the latest version following is my install script but I am getting the following error message:

    #OpenSLL installation (default location /usr/local/ssl)
    Code:
    ./config 
    make 
    make test 
    make install

    #Apache Install

    Code:
    ./configure \ 
    --with-ssl=/usr/local/ssl \ 
    --enable-ssl \ 
    --enable-modules="all" \ 
    --enable-mods-shared="most" \
    # I am getting the following error:

    Code:
    checking whether to enable mod_ssl... checking dependencies 
    checking for SSL/TLS toolkit base... /usr/local/ssl 
    adding "-I/usr/local/ssl/include" to CPPFLAGS 
    adding "-I/usr/local/ssl/include" to INCLUDES 
    adding "-L/usr/local/ssl/lib" to LDFLAGS 
    checking for OpenSSL version... checking openssl/opensslv.h usability... yes 
    checking openssl/opensslv.h presence... yes 
    checking for openssl/opensslv.h... yes 
    checking openssl/ssl.h usability... yes 
    checking openssl/ssl.h presence... yes 
    checking for openssl/ssl.h... yes 
    OK 
    forcing SSL_LIBS to "-lssl -lcrypto " 
    adding "-lssl" to LIBS 
    adding "-lcrypto" to LIBS 
    checking openssl/engine.h usability... yes 
    checking openssl/engine.h presence... yes 
    checking for openssl/engine.h... yes 
    checking for SSLeay_version... yes 
    checking for SSL_CTX_new... no 
    checking for ENGINE_init... no 
    checking for ENGINE_load_builtin_engines... no 
    checking for SSL_set_cert_store... no 
    configure: error: ... Error, SSL/TLS libraries were missing or unusable 
    Please help as I need to get my servers updated urgently.

  2. #2
    Just Joined!
    Join Date
    Mar 2012
    Posts
    16
    come on, any apache guru's out there...???

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    12
    make sure that you don't have duplicated openssl installs.

    and try --with-ssl=/etc/ssl

    And try to google for it, there is plenty of pages with this issue, just copy this error and paste in google.

  4. #4
    Just Joined!
    Join Date
    Mar 2012
    Posts
    16
    Quote Originally Posted by Krisinho View Post
    make sure that you don't have duplicated openssl installs.

    and try --with-ssl=/etc/ssl

    And try to google for it, there is plenty of pages with this issue, just copy this error and paste in google.
    There is no duplicate install. There is no directory as "/etc/ssl".
    I did the google search before I posted here, I did not find any solution on google. All the link reference to bugs for older versions of apache and couple of posts with no solution.


    Same installation script worked with OpenSSL-1.0.0e, OpenSSL-1.0.0f as well as OpenSSL-1.0.0g. But I am getting this error message with OpenSSL-1.0.0h as well as OpenSSL-1.0.1.
    Last edited by sanjivus; 04-03-2012 at 03:58 AM.

  5. #5
    Just Joined!
    Join Date
    Mar 2012
    Posts
    16
    Finally, I was able to resolve this problem with someone's help. Just in case , if someone else needs to know.
    I had to create a environment variable before the httpd install

    Code:
    export LDFLAGS=-ldl

  6. #6
    Just Joined!
    Join Date
    Nov 2012
    Posts
    1
    I does not work for me. I install apache 2.2.23 with openssl 1.0.1c on platform Sparc 64 Solaris. The same step followed, but same erro continues. Could U help me out? Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •