I'm trying to install apache 2.4 on a CentOS 6.8 server and I have followed this tutorial to do it: geekpeek.net/running-latest-apache-2-4-with-php-7-0-on-centos-6/#disqus_thread
But I'm stuck at step 5 since I can't build apr-util-1.5.4 rpm, my command:
$ rpmbuild -tb apr-util-1.5.4.tar.bz2
Resulting in (translated from french by myself, and after many lines of file processing):
Rpm build error:
File not found by substitution: ~/rpmbuild/BUILDROOT/apr-util-1.5.4-1.x86_64/usr/lib64/apr-util-1/apr_dbd_mysql*
Here's the content of the specified directory:
apr_crypto_nss-1.so apr_dbd_freetds.so apr_dbd_sqlite3.la
apr_crypto_nss.a apr_dbd_odbc-1.so apr_dbd_sqlite3.so
apr_crypto_nss.la apr_dbd_odbc.a apr_dbm_db-1.so
apr_crypto_nss.so apr_dbd_odbc.la apr_dbm_db.a
apr_crypto_openssl-1.so apr_dbd_odbc.so apr_dbm_db.la
apr_crypto_openssl.a apr_dbd_pgsql-1.so apr_dbm_db.so
apr_crypto_openssl.la apr_dbd_pgsql.a apr_ldap-1.so
apr_crypto_openssl.so apr_dbd_pgsql.la apr_ldap.a
apr_dbd_freetds-1.so apr_dbd_pgsql.so apr_ldap.la
apr_dbd_freetds.a apr_dbd_sqlite3-1.so apr_ldap.so
apr_dbd_freetds.la apr_dbd_sqlite3.a
I downloaded the apr-util-1.5.4.tar.bz2 from apache official website, and verified the file intergrity with md5sum. A former question stated that the missing files could be found in the apr-util-mysql package, which I believe that I can take from rpmfind (www.rpmfind.net/linux/rpm2html/search.php?query=apr-util-mysql&submit=Search+...).
But I'm troubled for how to proceed right now? Should I try to force building the rpm without the missing files, and install apr-util-mysql after (or before)? Could I somehow explode the apr-util-mysql package to extract the missing apr_dbd_mysql files (and should I)?