Home > OS >  Help: CentOS6.10 HTTPD installed make mistakes
Help: CentOS6.10 HTTPD installed make mistakes

Time:10-01

System for CentOS6.10, now want to 2.4.39 HTTPD upgrades to make when errors, apr, apr - util pcre are installed, specific information is as follows, for expert help solve

[root @ localhost HTTP] # CD apr - 1.7.0
[root @ localhost apr - 1.7.0] #./configure -- prefix=/usr/local/apr

[root @ localhost apr - 1.7.0] # CD../apr - util - 1.6.1
[root @ localhost apr - util - 1.6.1] #./configure -- prefix=/usr/local/apr - util - with - apr=/usr/local/apr/bin/apr - 1 - config

[root @ localhost apr - util - 1.6.1] # CD../pcre - 8.43
[root @ localhost pcre 8.43] #./configure -- prefix=/usr/local/pcre - with - apr=/usr/local/apr/bin/apr - 1 - config

[root @ localhost pcrepcre 8.43] # CD../HTTPD - 2.4.39
[root @ localhost HTTPD - 2.4.39] #./configure -- prefix=/usr/local/apache - with - pcre=/usr/local/pcre - with - apr=/usr/local/apr - with - apr - util=/usr/local/apr - util

Configure: error: Did not find pcre - config script at/usr/local/pcre
[root @ localhost HTTPD - 2.4.39] #./configure -- prefix=/usr/local/apache - with - pcre=/usr/local/pcre2 - with - apr=/usr/local/apr - with - apr - util=/usr/local/apr - util

Server Version: 2.4.39
Install the prefix:/usr/local/apache
C compiler, GCC - STD=gnu99
CFLAGS: - g - O2 - pthread
CPPFLAGS: - DLINUX - D_REENTRANT - D_GNU_SOURCE
LDFLAGS:
LIBS:
C preprocessor: GCC -e

[root @ localhost HTTPD - 2.4.39] # make

Ab. O: function In ` ssl_print_cert_info ':
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 653: undefined reference to ` X509_get_version '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 655: undefined reference to ` X509_getm_notBefore '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 659: undefined reference to ` X509_getm_notAfter '
Ab. O: function In ` ssl_state_cb ':
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 575: undefined reference to ` SSL_in_init '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 575: undefined reference to ` SSL_is_server '
Ab. O: function In ` sk_X509_num ':
/usr/local/include/openssl/x509. H: 99: undefined reference to ` OPENSSL_sk_num '
Ab. O: function In ` sk_X509_value ':
/usr/local/include/openssl/x509. H: 99: undefined reference to ` OPENSSL_sk_value '
Ab. O: function In ` ssl_proceed_handshake ':
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 759: undefined reference to ` EC_curve_nid2nist '
Ab. O: function In ` main ':
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 2305: undefined reference to ` TLS_client_method '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 2560: undefined reference to ` TLS_client_method '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 2637: undefined reference to ` OPENSSL_init_ssl '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 2638: undefined reference to ` OPENSSL_init_ssl '
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 2647: undefined reference to ` SSL_CTX_set_options'
Ab. O: function In ` test ':
HTTP//soft/HTTPD - 2.4.39/support/ab. C: 1990: undefined reference to ` SSL_in_init '
Collect2: ld returned 1 exit status
Make [2] : * * * [ab] error 1
Make [2] : brigade directory `/soft/HTTP/HTTPD 2.4.39/support '
Make [1] : * * */all - recursive error 1
Make [1] : brigade directory `/soft/HTTP/HTTPD 2.4.39/support '
Make: * * * all - recursive error 1

CodePudding user response:

Your pcre directory/usr/local/pcre, isn't it, why compile apache when pcre directory is/usr/local/pcre2!
In addition
First extract the good apr and apr - util on HTTPD - 2.4.39/srclib (take apr, apr - util folder), then compile apache plus - with - the included - apr

CodePudding user response:

reference 1st floor mxy960126 response:
your pcre directory/usr/local/pcre, isn't it, why compile apache when pcre directory is/usr/local/pcre2!
In addition
First extract the good apr and apr - util on HTTPD - 2.4.39/srclib (take apr, apr - util folder), then compile apache plus - with the included - apr


./configure -- prefix=/usr/local/apache - with the included - apr - with - apr=/usr/local/apr - with - apr - util=/usr/local/apr - util - with - pcre=/usr/local/pcre - with z=/usr/local/zlib - enable - so - enable - modules=all - enable - mods - Shared=all - enable - deflate - enable - headers

There is the same problem, and according to the compiling apr and apr - util have also been put
  • Related