You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stéphane Laurencelle <st...@momentum-tech.ca> on 2017/01/26 20:07:46 UTC
[users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c
version on oel 6.8
Hello,
I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install openssl 1.1.0c version
here is the line i use to configure, this one did not return any error
./configure --prefix=/usr/local/src/httpd-2.4.25 --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
the next step i do is doing the command make to compile the httpd server and here is the error i got at the end
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
[root@mandos httpd-2.4.25]
Hope someone hae a solution, i found some stuff about a bug on the 2.4.23 version and the guys have to go back to the opsnssl 1.0.x version.
Best regards,
Stephane
RE: [users@httpd] problem compiling apache httpd server 2.4.25 with
openssl 1.1.0c version on oel 6.8
Posted by Darryl Philip Baker <da...@northwestern.edu>.
I haven't built Apache 2.4, I'm using vendor's binaries, but my question is after all the time OpenSSL 1.1.0x has been available why is there still an incompatibility?
Darryl Baker
NIT - CI -DAPS
X76674
From: Stéphane Laurencelle [mailto:stephane.laurencelle@momentum-tech.ca]
Sent: January 26, 2017 2:27 PM
To: users@httpd.apache.org
Subject: [users@httpd] RE : [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
that's what are read but is this true ?
Stéphane Laurencelle
Analyste Technologique
MOMENTUM TECHNOLOGIES INC.
Fière d'être parmi les 50 sociétés les mieux gérées du Canada<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.manitou-2Dpsa.com_index.php_qc_nous_nouvelles-2D2_86-2D-2Dmomentum-2Dtechnologies-2Dparmi-2Dles-2D50-2Dsocietes-2Dles-2Dmieux-2Dgerees-2Dau-2Dcanada&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=Uneko3fTE2_ynu0UnTIIZ_xoj2dkjgBLNrhS8nwsSc0&e=>!
825, boul. Lebourgneuf, bureau 412
Québec (Québec) G2J 0B9
Enterprise Téléphone : 418 681-6363
stephane.laurencelle@momentum-tech.ca<https://urldefense.proofpoint.com/v2/url?u=https-3A__webmail.exchange.telus.com_owa_UrlBlockedError.aspx&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=cOhBMaxPaaaU05QVdzMFF2_nQ90AegCvkujTa3jZlGI&e=>
www.momentumtechnologies.ca<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.momentumtechnologies.ca_&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=JAVHXqsnMebMsdWsNjLPOqzLtGVgY5WD54cBFEflKeA&e=>
Vos experts en solutions Oracle et Java
Fiers d'être parmi les 50 sociétés les mieux gérées du Canada<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.momentumtechnologies.ca_fr_actualite-5Fmieuxgerees.html&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=HbcfUNjUFqgRBDH1MOerrfyxWCFj3jgqdwn8OKqQjJA&e=>!
________________________________
De : Daniel [dferradal@gmail.com]
Envoyé : 26 janvier 2017 15:18
À : <us...@httpd.apache.org>>
Objet : Re: [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
This has been said before in the mailing list very often. AFK apache 2.4.x is not compatible with openssl 1.1.x.
2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle <st...@momentum-tech.ca>>:
Hello,
I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install openssl 1.1.0c version
here is the line i use to configure, this one did not return any error
./configure --prefix=/usr/local/src/httpd-2.4.25 --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
the next step i do is doing the command make to compile the httpd server and here is the error i got at the end
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la<https://urldefense.proofpoint.com/v2/url?u=http-3A__libaprutil-2D1.la&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=FHCUE2_AUQUYayLELxPwG0dg1U1Bxa94JPX4_JPXBPU&e=> -lexpat /usr/local/apr/lib/libapr-1.la<https://urldefense.proofpoint.com/v2/url?u=http-3A__libapr-2D1.la&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=YNqBm8m2gkYY-xkZBI0Q9jNU7MjAt6cOQY9SLaYQv2Y&e=> -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
[root@mandos httpd-2.4.25]
Hope someone hae a solution, i found some stuff about a bug on the 2.4.23 version and the guys have to go back to the opsnssl 1.0.x version.
Best regards,
Stephane
--
Daniel Ferradal
IT Specialist
email dferradal at gmail.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__gmail.com&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=UCMJ8ehTazr0_RHPRIAofM4ue9qOB7OtFjhvjUpSgHI&e=>
linkedin es.linkedin.com/in/danielferradal<https://urldefense.proofpoint.com/v2/url?u=http-3A__es.linkedin.com_in_danielferradal&d=CwMF-g&c=yHlS04HhBraes5BQ9ueu5zKhE7rtNXt_d012z2PA6ws&r=tdje61_VHSXp608oLofeaJnnzo2Sr9_Cdcp70bBEtQ8&m=Yvb8U3u-9p4hFSXQFrwGA_QP9CXgbGYdXPJBcs25LCg&s=BzGGzGUL7GT5odx91qnE0M8zkSuGAjCtqD37xM8IMPY&e=>
[users@httpd] RE : [users@httpd] problem compiling apache httpd server 2.4.25
with openssl 1.1.0c version on oel 6.8
Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.
that's what are read but is this true ?
Stéphane Laurencelle
Analyste Technologique
MOMENTUM TECHNOLOGIES INC.
Fière d’être parmi les 50 sociétés les mieux gérées du Canada<http://www.manitou-psa.com/index.php/qc/nous/nouvelles-2/86--momentum-technologies-parmi-les-50-societes-les-mieux-gerees-au-canada>!
825, boul. Lebourgneuf, bureau 412
Québec (Québec) G2J 0B9
Enterprise Téléphone : 418 681-6363
stephane.laurencelle@momentum-tech.ca<https://webmail.exchange.telus.com/owa/UrlBlockedError.aspx>
www.momentumtechnologies.ca<http://www.momentumtechnologies.ca/>
Vos experts en solutions Oracle et Java
Fiers d’être parmi les 50 sociétés les mieux gérées du Canada<http://www.momentumtechnologies.ca/fr/actualite_mieuxgerees.html>!
________________________________
De : Daniel [dferradal@gmail.com]
Envoyé : 26 janvier 2017 15:18
À : <us...@httpd.apache.org>
Objet : Re: [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
This has been said before in the mailing list very often. AFK apache 2.4.x is not compatible with openssl 1.1.x.
2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle <st...@momentum-tech.ca>>:
Hello,
I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install openssl 1.1.0c version
here is the line i use to configure, this one did not return any error
./configure --prefix=/usr/local/src/httpd-2.4.25 --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
the next step i do is doing the command make to compile the httpd server and here is the error i got at the end
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la<http://libaprutil-1.la> -lexpat /usr/local/apr/lib/libapr-1.la<http://libapr-1.la> -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
[root@mandos httpd-2.4.25]
Hope someone hae a solution, i found some stuff about a bug on the 2.4.23 version and the guys have to go back to the opsnssl 1.0.x version.
Best regards,
Stephane
--
Daniel Ferradal
IT Specialist
email dferradal at gmail.com<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] RE : [users@httpd] problem compiling apache httpd
server 2.4.25 with openssl 1.1.0c version on oel 6.8
Posted by Luca Toscano <to...@gmail.com>.
2017-01-26 22:57 GMT+01:00 Eric Covener <co...@gmail.com>:
> On Thu, Jan 26, 2017 at 4:41 PM, Stéphane Laurencelle
> <st...@momentum-tech.ca> wrote:
> > So no luck for me, Can someone from the apache httpd server project give
> me
> > an answer about the support for openssl 1.1.x with apache 2.4.xx branch.
>
> It's not supported in 2.4.x yet. That's why it doesn't compile.
>
>
As far as I know (hence to be verified),
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x-openssl-1.1.0-compat
was created to test openssl 1.1.x and make necessary changes to support
it. Please note that it is very experimental and not up to date (at least,
at the moment) with the latest changes in 2.4.x.
What I want to say is that there is no current timeline to support openssl
1.1.x, but there are people working on it :)
Luca
Re: [users@httpd] RE : [users@httpd] problem compiling apache httpd
server 2.4.25 with openssl 1.1.0c version on oel 6.8
Posted by Eric Covener <co...@gmail.com>.
On Thu, Jan 26, 2017 at 4:41 PM, Stéphane Laurencelle
<st...@momentum-tech.ca> wrote:
> So no luck for me, Can someone from the apache httpd server project give me
> an answer about the support for openssl 1.1.x with apache 2.4.xx branch.
It's not supported in 2.4.x yet. That's why it doesn't compile.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] RE : [users@httpd] problem compiling apache httpd server 2.4.25
with openssl 1.1.0c version on oel 6.8
Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.
Hello,
I just try the latest openssl 1.1.0d it's solve some problem but with apache compilation still the same problem.
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
So no luck for me, Can someone from the apache httpd server project give me an answer about the support for openssl 1.1.x with apache 2.4.xx branch.
It would be appreciated.
Best regards,
Stephane
________________________________
De : Stéphane Laurencelle [stephane.laurencelle@momentum-tech.ca]
Envoyé : 26 janvier 2017 16:16
À : users@httpd.apache.org; frazier377@sbcglobal.net
Objet : [users@httpd] RE : [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
Hello Kent,
My problem is that i'm doing a POC and after my POC i will run it on production server and i'm not sure i want to burn myself with that choice :)
Thanks
Stephane
________________________________
De : Kent Frazier [frazier377@sbcglobal.net]
Envoyé : 26 janvier 2017 15:49
À : users@httpd.apache.org
Objet : Re: [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
I'm running 2.4.25 with openssl 1.1.0c on a MAC. I had slightly different issues, however. I was able to adapt the patches for a 2.4.23 version available at https://bz.apache.org/bugzilla/attachment.cgi?id=34182&action=edit
I have no idea whether this will work for you, or whether it has been sufficiently tested to meet your criteria. (My criteria was that I just wanted to play with it).
On 1/26/17 12:18 PM, Daniel wrote:
This has been said before in the mailing list very often. AFK apache 2.4.x is not compatible with openssl 1.1.x.
2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle <st...@momentum-tech.ca>>:
Hello,
I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install openssl 1.1.0c version
here is the line i use to configure, this one did not return any error
./configure --prefix=/usr/local/src/httpd-2.4.25 --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
the next step i do is doing the command make to compile the httpd server and here is the error i got at the end
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la<http://libaprutil-1.la> -lexpat /usr/local/apr/lib/libapr-1.la<http://libapr-1.la> -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
[root@mandos httpd-2.4.25]
Hope someone hae a solution, i found some stuff about a bug on the 2.4.23 version and the guys have to go back to the opsnssl 1.0.x version.
Best regards,
Stephane
--
Daniel Ferradal
IT Specialist
email dferradal at gmail.com<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
[users@httpd] RE : [users@httpd] problem compiling apache httpd server 2.4.25
with openssl 1.1.0c version on oel 6.8
Posted by Stéphane Laurencelle <st...@momentum-tech.ca>.
Hello Kent,
My problem is that i'm doing a POC and after my POC i will run it on production server and i'm not sure i want to burn myself with that choice :)
Thanks
Stephane
________________________________
De : Kent Frazier [frazier377@sbcglobal.net]
Envoyé : 26 janvier 2017 15:49
À : users@httpd.apache.org
Objet : Re: [users@httpd] problem compiling apache httpd server 2.4.25 with openssl 1.1.0c version on oel 6.8
I'm running 2.4.25 with openssl 1.1.0c on a MAC. I had slightly different issues, however. I was able to adapt the patches for a 2.4.23 version available at https://bz.apache.org/bugzilla/attachment.cgi?id=34182&action=edit
I have no idea whether this will work for you, or whether it has been sufficiently tested to meet your criteria. (My criteria was that I just wanted to play with it).
On 1/26/17 12:18 PM, Daniel wrote:
This has been said before in the mailing list very often. AFK apache 2.4.x is not compatible with openssl 1.1.x.
2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle <st...@momentum-tech.ca>>:
Hello,
I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install openssl 1.1.0c version
here is the line i use to configure, this one did not return any error
./configure --prefix=/usr/local/src/httpd-2.4.25 --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
the next step i do is doing the command make to compile the httpd server and here is the error i got at the end
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
-o ab ab.lo /usr/local/apr/lib/libaprutil-1.la<http://libaprutil-1.la> -lexpat /usr/local/apr/lib/libapr-1.la<http://libapr-1.la> -lrt -lcrypt -lpthread -lm
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to `X509_get_version'
/usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to `X509_getm_notBefore'
/usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to `X509_getm_notAfter'
ab.o: In function `ssl_state_cb':
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_in_init'
/usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to `SSL_is_server'
ab.o: In function `sk_X509_num':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
ab.o: In function `sk_X509_value':
/usr/local/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_value'
ab.o: In function `test':
/usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to `SSL_in_init'
ab.o: In function `main':
/usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to `TLS_client_method'
/usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to `CRYPTO_malloc_init'
/usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to `OPENSSL_init_ssl'
/usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to `SSL_CTX_set_options'
/usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to `TLS_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
make: *** [all-recursive] Error 1
[root@mandos httpd-2.4.25]
Hope someone hae a solution, i found some stuff about a bug on the 2.4.23 version and the guys have to go back to the opsnssl 1.0.x version.
Best regards,
Stephane
--
Daniel Ferradal
IT Specialist
email dferradal at gmail.com<http://gmail.com>
linkedin es.linkedin.com/in/danielferradal<http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] problem compiling apache httpd server 2.4.25 with
openssl 1.1.0c version on oel 6.8
Posted by Kent Frazier <fr...@sbcglobal.net>.
I'm running 2.4.25 with openssl 1.1.0c on a MAC. I had slightly
different issues, however. I was able to adapt the patches for a 2.4.23
version available at
https://bz.apache.org/bugzilla/attachment.cgi?id=34182&action=edit
I have no idea whether this will work for you, or whether it has been
sufficiently tested to meet your criteria. (My criteria was that I just
wanted to play with it).
On 1/26/17 12:18 PM, Daniel wrote:
> This has been said before in the mailing list very often. AFK apache
> 2.4.x is not compatible with openssl 1.1.x.
>
> 2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle
> <stephane.laurencelle@momentum-tech.ca
> <ma...@momentum-tech.ca>>:
>
> Hello,
>
> I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i
> install openssl 1.1.0c version
>
> here is the line i use to configure, this one did not return any error
>
> ./configure --prefix=/usr/local/src/httpd-2.4.25
> --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker
> --enable-so --enable-mods-shared=all --enable-proxy
> --with-apr=/usr/local/apr --with-pcre=/usr/local/pcre
>
> the next step i do is doing the command make to compile the httpd
> server and here is the error i got at the end
>
> /usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99
> -g -O2 -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
> -o ab ab.lo
> /usr/local/apr/lib/libaprutil-1.la <http://libaprutil-1.la>
> -lexpat /usr/local/apr/lib/libapr-1.la <http://libapr-1.la> -lrt
> -lcrypt -lpthread -lm
> ab.o: In function `ssl_print_cert_info':
> /usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference
> to `X509_get_version'
> /usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference
> to `X509_getm_notBefore'
> /usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference
> to `X509_getm_notAfter'
> ab.o: In function `ssl_state_cb':
> /usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference
> to `SSL_in_init'
> /usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference
> to `SSL_is_server'
> ab.o: In function `sk_X509_num':
> /usr/local/include/openssl/x509.h:97: undefined reference to
> `OPENSSL_sk_num'
> ab.o: In function `sk_X509_value':
> /usr/local/include/openssl/x509.h:97: undefined reference to
> `OPENSSL_sk_value'
> ab.o: In function `test':
> /usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference
> to `SSL_in_init'
> ab.o: In function `main':
> /usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference
> to `TLS_client_method'
> /usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference
> to `CRYPTO_malloc_init'
> /usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference
> to `OPENSSL_init_ssl'
> /usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference
> to `OPENSSL_init_ssl'
> /usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference
> to `SSL_CTX_set_options'
> /usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference
> to `TLS_client_method'
> collect2: ld returned 1 exit status
> make[2]: *** [ab] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
> make: *** [all-recursive] Error 1
> [root@mandos httpd-2.4.25]
>
> Hope someone hae a solution, i found some stuff about a bug on the
> 2.4.23 version and the guys have to go back to the opsnssl 1.0.x
> version.
>
> Best regards,
>
> Stephane
>
>
>
>
>
>
> --
> *Daniel Ferradal*
> IT Specialist
>
> email dferradal at gmail.com <http://gmail.com>
> linkedin es.linkedin.com/in/danielferradal
> <http://es.linkedin.com/in/danielferradal>
Re: [users@httpd] problem compiling apache httpd server 2.4.25 with
openssl 1.1.0c version on oel 6.8
Posted by Daniel <df...@gmail.com>.
This has been said before in the mailing list very often. AFK apache 2.4.x
is not compatible with openssl 1.1.x.
2017-01-26 21:07 GMT+01:00 Stéphane Laurencelle <stephane.laurencelle@
momentum-tech.ca>:
> Hello,
>
> I'm trying to compile apache httpd 2.4.25 on oracle linux 6.8, i install
> openssl 1.1.0c version
>
> here is the line i use to configure, this one did not return any error
>
> ./configure --prefix=/usr/local/src/httpd-2.4.25
> --with-ssl=/usr/local/ssl --enable-ssl=shared --with-mpm=worker --enable-so
> --enable-mods-shared=all --enable-proxy --with-apr=/usr/local/apr
> --with-pcre=/usr/local/pcre
>
> the next step i do is doing the command make to compile the httpd server
> and here is the error i got at the end
>
> /usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2
> -pthread -lssl -lcrypto -lrt -lcrypt -lpthread \
> -o ab ab.lo /usr/local/apr/lib/libaprutil-1.la
> -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -lm
> ab.o: In function `ssl_print_cert_info':
> /usr/local/src/httpd-2.4.25/support/ab.c:640: undefined reference to
> `X509_get_version'
> /usr/local/src/httpd-2.4.25/support/ab.c:642: undefined reference to
> `X509_getm_notBefore'
> /usr/local/src/httpd-2.4.25/support/ab.c:646: undefined reference to
> `X509_getm_notAfter'
> ab.o: In function `ssl_state_cb':
> /usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to
> `SSL_in_init'
> /usr/local/src/httpd-2.4.25/support/ab.c:562: undefined reference to
> `SSL_is_server'
> ab.o: In function `sk_X509_num':
> /usr/local/include/openssl/x509.h:97: undefined reference to
> `OPENSSL_sk_num'
> ab.o: In function `sk_X509_value':
> /usr/local/include/openssl/x509.h:97: undefined reference to
> `OPENSSL_sk_value'
> ab.o: In function `test':
> /usr/local/src/httpd-2.4.25/support/ab.c:1877: undefined reference to
> `SSL_in_init'
> ab.o: In function `main':
> /usr/local/src/httpd-2.4.25/support/ab.c:2169: undefined reference to
> `TLS_client_method'
> /usr/local/src/httpd-2.4.25/support/ab.c:2468: undefined reference to
> `CRYPTO_malloc_init'
> /usr/local/src/httpd-2.4.25/support/ab.c:2470: undefined reference to
> `OPENSSL_init_ssl'
> /usr/local/src/httpd-2.4.25/support/ab.c:2471: undefined reference to
> `OPENSSL_init_ssl'
> /usr/local/src/httpd-2.4.25/support/ab.c:2480: undefined reference to
> `SSL_CTX_set_options'
> /usr/local/src/httpd-2.4.25/support/ab.c:2395: undefined reference to
> `TLS_client_method'
> collect2: ld returned 1 exit status
> make[2]: *** [ab] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.4.25/support'
> make: *** [all-recursive] Error 1
> [root@mandos httpd-2.4.25]
>
> Hope someone hae a solution, i found some stuff about a bug on the 2.4.23
> version and the guys have to go back to the opsnssl 1.0.x version.
>
> Best regards,
>
> Stephane
>
>
>
>
--
*Daniel Ferradal*
IT Specialist
email dferradal at gmail.com
linkedin es.linkedin.com/in/danielferradal