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 [frazier...@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 
<stephane.laurence...@momentum-tech.ca<mailto:stephane.laurence...@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>

Reply via email to