openssl issue while installing apache 2.4.23












1















I'm trying to install apache2.4.23 on centos 6.8 and i'm getting this :



ab.c: In function 'main':
ab.c:2398: warning: implicit declaration of function 'SSLv2_client_method'
ab.c:2398: warning: assignment makes pointer from integer without a cast
ab.c:2412: warning: 'TLSv1_1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1604)
ab.c:2414: warning: 'TLSv1_2_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1610)
ab.c:2417: warning: 'TLSv1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1598)
ab.c:2468: warning: implicit declaration of function 'CRYPTO_malloc_init'
/usr/share/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -L/opt/httpd-2.4.25/lib -lssl -lcrypto -lrt -lcrypt -lpthread
-o ab ab.lo /usr/lib64/libaprutil-1.la -ldb-4.7 -lexpat -ldb-4.7 /usr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
ab.o: In function `main':
/opt/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/opt/httpd-2.4.25/support/ab.c:2398: undefined reference to `SSLv2_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Erreur 1
make[2]: quittant le répertoire « /opt/httpd-2.4.25/support »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /opt/httpd-2.4.25/support »
make: *** [all-recursive] Erreur


I tried installing openssl 1.1.0 and reconfigure the installation of apache with :



./configure --enable-layout=admin --enable-mpms-shared=all  --with-ssl=/usr/local/bin/openssl


Still getting the same problem, any ideas ?










share|improve this question














bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I'm trying to install apache2.4.23 on centos 6.8 and i'm getting this :



    ab.c: In function 'main':
    ab.c:2398: warning: implicit declaration of function 'SSLv2_client_method'
    ab.c:2398: warning: assignment makes pointer from integer without a cast
    ab.c:2412: warning: 'TLSv1_1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1604)
    ab.c:2414: warning: 'TLSv1_2_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1610)
    ab.c:2417: warning: 'TLSv1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1598)
    ab.c:2468: warning: implicit declaration of function 'CRYPTO_malloc_init'
    /usr/share/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -L/opt/httpd-2.4.25/lib -lssl -lcrypto -lrt -lcrypt -lpthread
    -o ab ab.lo /usr/lib64/libaprutil-1.la -ldb-4.7 -lexpat -ldb-4.7 /usr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
    ab.o: In function `main':
    /opt/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
    /opt/httpd-2.4.25/support/ab.c:2398: undefined reference to `SSLv2_client_method'
    collect2: ld returned 1 exit status
    make[2]: *** [ab] Erreur 1
    make[2]: quittant le répertoire « /opt/httpd-2.4.25/support »
    make[1]: *** [all-recursive] Erreur 1
    make[1]: quittant le répertoire « /opt/httpd-2.4.25/support »
    make: *** [all-recursive] Erreur


    I tried installing openssl 1.1.0 and reconfigure the installation of apache with :



    ./configure --enable-layout=admin --enable-mpms-shared=all  --with-ssl=/usr/local/bin/openssl


    Still getting the same problem, any ideas ?










    share|improve this question














    bumped to the homepage by Community 20 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I'm trying to install apache2.4.23 on centos 6.8 and i'm getting this :



      ab.c: In function 'main':
      ab.c:2398: warning: implicit declaration of function 'SSLv2_client_method'
      ab.c:2398: warning: assignment makes pointer from integer without a cast
      ab.c:2412: warning: 'TLSv1_1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1604)
      ab.c:2414: warning: 'TLSv1_2_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1610)
      ab.c:2417: warning: 'TLSv1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1598)
      ab.c:2468: warning: implicit declaration of function 'CRYPTO_malloc_init'
      /usr/share/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -L/opt/httpd-2.4.25/lib -lssl -lcrypto -lrt -lcrypt -lpthread
      -o ab ab.lo /usr/lib64/libaprutil-1.la -ldb-4.7 -lexpat -ldb-4.7 /usr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
      ab.o: In function `main':
      /opt/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
      /opt/httpd-2.4.25/support/ab.c:2398: undefined reference to `SSLv2_client_method'
      collect2: ld returned 1 exit status
      make[2]: *** [ab] Erreur 1
      make[2]: quittant le répertoire « /opt/httpd-2.4.25/support »
      make[1]: *** [all-recursive] Erreur 1
      make[1]: quittant le répertoire « /opt/httpd-2.4.25/support »
      make: *** [all-recursive] Erreur


      I tried installing openssl 1.1.0 and reconfigure the installation of apache with :



      ./configure --enable-layout=admin --enable-mpms-shared=all  --with-ssl=/usr/local/bin/openssl


      Still getting the same problem, any ideas ?










      share|improve this question














      I'm trying to install apache2.4.23 on centos 6.8 and i'm getting this :



      ab.c: In function 'main':
      ab.c:2398: warning: implicit declaration of function 'SSLv2_client_method'
      ab.c:2398: warning: assignment makes pointer from integer without a cast
      ab.c:2412: warning: 'TLSv1_1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1604)
      ab.c:2414: warning: 'TLSv1_2_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1610)
      ab.c:2417: warning: 'TLSv1_client_method' is deprecated (declared at /usr/local/include/openssl/ssl.h:1598)
      ab.c:2468: warning: implicit declaration of function 'CRYPTO_malloc_init'
      /usr/share/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -L/opt/httpd-2.4.25/lib -lssl -lcrypto -lrt -lcrypt -lpthread
      -o ab ab.lo /usr/lib64/libaprutil-1.la -ldb-4.7 -lexpat -ldb-4.7 /usr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
      ab.o: In function `main':
      /opt/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
      /opt/httpd-2.4.25/support/ab.c:2398: undefined reference to `SSLv2_client_method'
      collect2: ld returned 1 exit status
      make[2]: *** [ab] Erreur 1
      make[2]: quittant le répertoire « /opt/httpd-2.4.25/support »
      make[1]: *** [all-recursive] Erreur 1
      make[1]: quittant le répertoire « /opt/httpd-2.4.25/support »
      make: *** [all-recursive] Erreur


      I tried installing openssl 1.1.0 and reconfigure the installation of apache with :



      ./configure --enable-layout=admin --enable-mpms-shared=all  --with-ssl=/usr/local/bin/openssl


      Still getting the same problem, any ideas ?







      linux apache-httpd openssl






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 19 '17 at 7:31









      BOUKANDOURA MhamedBOUKANDOURA Mhamed

      96110




      96110





      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          After a lot of documentation i found that the problem was in openssl version, in my case i was using openssl 1.1.x so when httpd 2.4.23 was released openssl 1.1.0 was still beta, i installed openssl 1.0.2j and i compiled apache with new ssl :



          ./configure --with-apr=/usr/local/apr/bin --with-ssl=/usr/local/ssl/bin/






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f338550%2fopenssl-issue-while-installing-apache-2-4-23%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After a lot of documentation i found that the problem was in openssl version, in my case i was using openssl 1.1.x so when httpd 2.4.23 was released openssl 1.1.0 was still beta, i installed openssl 1.0.2j and i compiled apache with new ssl :



            ./configure --with-apr=/usr/local/apr/bin --with-ssl=/usr/local/ssl/bin/






            share|improve this answer




























              0














              After a lot of documentation i found that the problem was in openssl version, in my case i was using openssl 1.1.x so when httpd 2.4.23 was released openssl 1.1.0 was still beta, i installed openssl 1.0.2j and i compiled apache with new ssl :



              ./configure --with-apr=/usr/local/apr/bin --with-ssl=/usr/local/ssl/bin/






              share|improve this answer


























                0












                0








                0







                After a lot of documentation i found that the problem was in openssl version, in my case i was using openssl 1.1.x so when httpd 2.4.23 was released openssl 1.1.0 was still beta, i installed openssl 1.0.2j and i compiled apache with new ssl :



                ./configure --with-apr=/usr/local/apr/bin --with-ssl=/usr/local/ssl/bin/






                share|improve this answer













                After a lot of documentation i found that the problem was in openssl version, in my case i was using openssl 1.1.x so when httpd 2.4.23 was released openssl 1.1.0 was still beta, i installed openssl 1.0.2j and i compiled apache with new ssl :



                ./configure --with-apr=/usr/local/apr/bin --with-ssl=/usr/local/ssl/bin/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 22 '17 at 8:58









                BOUKANDOURA MhamedBOUKANDOURA Mhamed

                96110




                96110






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f338550%2fopenssl-issue-while-installing-apache-2-4-23%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    濃尾地震

                    How to rewrite equation of hyperbola in standard form

                    No ethernet ip address in my vocore2