fyi, I have opened a bug. In case someone is interested or experiencing the 
same please feel free to add to it:
https://bz.apache.org/bugzilla/show_bug.cgi?id=65542


Am 31.08.2021 um 17:08 schrieb Ran Mozes 
<ran.mo...@oracle.com<mailto:ran.mo...@oracle.com>>:

Thanks. Unfortunately it didn’t work for me. I still get the same errors.
Is there a another way of disabling AB (an option to "./configure“)?. I haven’t 
found such so far.


Am 30.08.2021 um 16:30 schrieb Dino Ciuffetti 
<d...@tuxweb.it<mailto:d...@tuxweb.it>>:

If you don't need ab (Apache Benchmark):

cd support ; touch ab ; cd .. ; make

This way you will skip the ab compilation.


30 agosto 2021 13:47, "Ran Mozes" 
<ran.mo...@oracle.com<mailto:ran.mo...@oracle.com?to=%22ran%20mozes%22%20%3cran.mo...@oracle.com%3E>>
 wrote:

Hi Nigel, all,
I am experiencing the exact same errors while trying to compile apache-2.4.48 
on a Solaris 10 X86 machine.
bash-3.2$ libtool --silent --mode=link gcc -std=gnu99 -g -O2 -o ab ab.lo -lz 
apache_upgrade_2.4.48/httpd-2.4.48/srclib/apr-util/libaprutil-1.la<https://urldefense.com/v3/__http://libaprutil-1.la__;!!ACWV5N9M2RV99hQ!dcaz3DMZqAdKSyMpzOe7SjImcqtAUQ6dBaOQgnC_aMSDy15m1OqpKhM9DM6bSv0$>
 -lexpat 
apache_upgrade_2.4.48/httpd-2.4.48/srclib/apr/libapr-1.la<https://urldefense.com/v3/__http://libapr-1.la__;!!ACWV5N9M2RV99hQ!dcaz3DMZqAdKSyMpzOe7SjImcqtAUQ6dBaOQgnC_aMSDy15m1OqpKhM9pCOdnvU$>
 -luuid -lsendfile -lrt -lsocket -lnsl -lpthread -lm -lssl -lcrypto -luuid 
-lsendfile -lrt -lsocket -lnsl -lpthread
Undefined first referenced
symbol in file
TLSv1_2_client_method ab.o
TLSv1_1_client_method ab.o
BIO_set_callback ab.o
EVP_PKEY_id ab.o
BIO_set_callback_arg ab.o
BIO_get_callback_arg ab.o
SSL_CTX_set_info_callback ab.o
ld: fatal: symbol referencing errors. No output written to .libs/ab
collect2: ld returned 1 exit status
Any solution found?
Thanks,
Ran
Am 23.07.2021 um 11:11 schrieb Reed, Nigel 
<nr...@verizon.com.INVALID<mailto:nr...@verizon.com.INVALID>>:
Hi all,
I asked this on the freenode IRC channel and was directed to the dev list, but 
since that's not for support I'll ask here and hope the devs are watching.
I compiled apache-2.4.46 about a year ago and had no problems. Yesterday I went 
to compile apache-2.4.48 and received some errors. I went back to try and 
rebuild .46 and got the same errors. I found out that someone updated the 
server, so a change has broken the build and I cannot figure out where to go 
from here.
These are my configure options:
./configure --prefix=/home/apache1/httpd8090 --with-included-apr 
--with-pcre=/home/apache1/httpd8090/bin/pcre-config --disable-ssl
and the error I get is
Making all in support
gmake[1]: Entering directory 
`/home/apache1/source/apache-2.4.48/httpd-2.4.48/support'
gmake[2]: Entering directory 
`/home/apache1/source/apache-2.4.48/httpd-2.4.48/support'
/home/apache1/source/apache-2.4.48/httpd-2.4.48/srclib/apr/libtool --silent 
--mode=link gcc -std=gnu99 -g -O2 \
-o ab ab.lo 
/home/apache1/source/apache-2.4.48/httpd-2.4.48/srclib/apr-util/libaprutil-1.la<https://urldefense.com/v3/__http://libaprutil-1.la__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-bIa2fM8%24>
 -lexpat 
/home/apache1/source/apache-2.4.48/httpd-2.4.48/srclib/apr/libapr-1.la<https://urldefense.com/v3/__http://libapr-1.la__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-Zd3WfSs%24>
 -luuid -lsendfile -lrt -lsocket -lnsl -lpthread -lm -lssl -lcrypto -luuid 
-lsendfile -lrt -lsocket -lnsl -lpthread
Undefined first referenced
symbol in file
TLSv1_2_client_method ab.o
TLSv1_1_client_method ab.o
BIO_set_callback ab.o
EVP_PKEY_id ab.o
BIO_set_callback_arg ab.o
BIO_get_callback_arg ab.o
SSL_CTX_set_info_callback ab.o
ld: fatal: symbol referencing errors. No output written to .libs/ab
collect2: ld returned 1 exit status
gmake[2]: *** [ab] Error 1
Now, I compared the config.status file and it seems that ab_LIBS is now being 
set with a bunch of libraries that weren't included previously.
781,782c781,782
< S["ab_LIBS"]=""
< S["ab_CFLAGS"]="-I/usr/sfw/include "
---
> S["ab_LIBS"]=" -lssl -lcrypto -luuid -lsendfile -lrt -lsocket -lnsl -lpthread"
> S["ab_CFLAGS"]=" "
I'm sure this is the cause of my issues but I don't know how to stop these from 
being picked up. I did try to remove the libraries from the 
build/config_vars.mk<https://urldefense.com/v3/__http://config_vars.mk__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-u6T75SE%24>
 file but to no avail.
I'm using apr 1.7 and apr-util 1.6.1 fwiw.
Also, fwiw, it seems whoever set this up installed a i386 compiler.
gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ 
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
So, any suggestions on where to go from here would be appreciated.
Thanks,
Nigel
--
[http://ss7.vzw.com/is/image/VerizonWireless/vz-logo-email]
[http://ss7.vzw.com/is/image/VerizonWireless/vz-sig-facebook?%24defaultscale%24]<https://urldefense.com/v3/__http://www.facebook.com/verizon__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-0bl8zfQ%24>
 
[http://ss7.vzw.com/is/image/VerizonWireless/vz-sig-twitter?%24defaultscale%24] 
<https://urldefense.com/v3/__http://twitter.com/verizon__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-7I2_-Y4%24>
  
[http://ss7.vzw.com/is/image/VerizonWireless/vz-sig-linkedin?%24defaultscale%24]
 
<https://urldefense.com/v3/__http://www.linkedin.com/company/verizon__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-_WfIK14%24>
  
[http://ss7.vzw.com/is/image/VerizonWireless/vz-sig-instagram?%24defaultscale%24]
 
<https://urldefense.com/v3/__http://www.instagram.com/verizon__;!!ACWV5N9M2RV99hQ!Ye_3j9Kud5mtsXFZRruAcicPH20qEwm2hHNRT5gAMCLSH0GABktWk3s-QL6Gljo%24>

Nigel Reed
Principal Engineer - Lifecycle A&E - ISD
Global Service Assurance
Verizon Business Group

O 4692813111

400 International Pkwy
Richardson, TX 75081




Reply via email to