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.