Hi Kapil,

the symbols which are not found seem to be pointing to not finding the OpenSSL. 
I usually build Apache from source and not through the rpmbuild
but my guess would be that your building env is missing the openssl and/or 
maybe one needs to set the LD_LIBRARY_PATH env variable to point to the 
required SSL installation path before building.

HTH,
Ran   

> Am 18.12.2020 um 12:30 schrieb Kapil Awate <kapil.aw...@fireeye.com.INVALID>:
> 
> Hi All,
>  
> Can anyone help me with below ? Want to build rpm for apache 2.4.46 and 
> upgrade it from 2.4.6 on production. Can anyone point/help me ?
>  
> Thanks,
> Kapil
>  
> From: Kapil Awate <kapil.aw...@fireeye.com>
> Date: Monday, 7 December 2020 at 7:56 PM
> To: "users@httpd.apache.org" <users@httpd.apache.org>
> Subject: Updating apache from 2.4.6 to 2.4.46
>  
> Hi All,
>  
> I am building RPM for apace 2.4.46 as want o upgrade 2.4.6 to 2.4.46. Before 
> building httpd rpm, built and installed apr and apr-util. While building 
> httpd rpm I am getting below error,
>  
> Executed command : rpmbuild -tb httpd-2.4.46.tar.bz2 
>  
> Error encountered :
>  
> ab.o: In function `main':
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:2305: undefined reference to 
> `TLS_client_method'
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:2560: undefined reference to 
> `TLS_client_method'
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:2637: undefined reference to 
> `OPENSSL_init_ssl'
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:2638: undefined reference to 
> `OPENSSL_init_ssl'
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:2647: undefined reference to 
> `SSL_CTX_set_options'
> ab.o: In function `test':
> /root/rpmbuild/BUILD/httpd-2.4.46/support/ab.c:1990: undefined reference to 
> `SSL_in_init'
> collect2: error: ld returned 1 exit status
> make[2]: *** [ab] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/httpd-2.4.46/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/httpd-2.4.46/support'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.hmVImT (%build)
>  
>  
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.hmVImT (%build)
>  
>  
> Can you please help me out ?
>  
> Thanks,
> Kapil
> This email and any attachments thereto may contain private, confidential, 
> and/or privileged material for the sole use of the intended recipient. Any 
> review, copying, or distribution of this email (or any attachments thereto) 
> by others is strictly prohibited. If you are not the intended recipient, 
> please contact the sender immediately and permanently delete the original and 
> any copies of this email and any attachments thereto.

Reply via email to