httpd-2.4.9 rpm build error File not found mod_session_crypto.so,mod_mpm_event.so

徘徊边缘 提交于 2019-12-11 02:59:15

问题


I am trying to build an RPM for httpd-2.4.9 in CentOS 6 final 64 bit using command -tb httpd-2.4.x.tar.bz2. But I am getting following file not found error:

 RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/httpd-2.4.9-1.x86_64/usr/lib64/httpd/modules/mod_mpm_event.so
    File not found: /root/rpmbuild/BUILDROOT/httpd-2.4.9-1.x86_64/usr/lib64/httpd/modules/mod_session_crypto.so

Can any one help me sort out this issue?


回答1:


I resolved this by installing the latest APR and APR Utility (http://apr.apache.org/) from source instead of pulling from yum and then installing httpd.

You may also need to change a line in the .spec file for the APR Utility if the crypto library will not install. The blog post at http://ramblin-dude.blogspot.com/2013/04/compiling-rpm-for-httpd-on-rhel-57.html explains that you need to change the line that reads make check || exit 1 to make check || continue for it to compile correctly. I'm not sure if this is relevant in CentOS 6 but in my system with CentOS 5 I had to do this.



来源:https://stackoverflow.com/questions/22892997/httpd-2-4-9-rpm-build-error-file-not-found-mod-session-crypto-so-mod-mpm-event-s

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!