Undefined symbol ap_log_rerror with mod_h264_streaming.so

Rufus McDufus

Registered
Jul 30, 2014
2
0
1
cPanel Access Level
Website Owner
I'm trying to upgrade my Apache from 2.2 to 2.4. I'm using EasyApache 3.34.4.
The original install appears to have a couple of streaming modules installed - mod_h264_streaming.so & mod_flvx.so

My build is failing with this error:
!! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1474188773):
Configuration problem detected on line 28 of file /usr/local/apache/conf/httpd.conf.1474188773: : Syntax error on line 1 of /usr/local/apache/conf/includes/pre_main_global.conf: Cannot load /usr/local/apache/modules/mod_h264_streaming.so into server: /usr/local/apache/modules/mod_h264_streaming.so: undefined symbol: ap_log_rerror

I'm not sure I even need these modules but would prefer to have them if possible just in case of any compatibility issues.
I can't even see how to disable these modules though. Simply removing them from Apache (delete the shared object files, remove the Apache AddHandler/LoadModule configs for them, restarting Apache before a fresh build) doesn't get rid of them. It looks like EasyApache is compiling them by default. The best option would be to fix the compilation error but I'm not sure how.
 

Rufus McDufus

Registered
Jul 30, 2014
2
0
1
cPanel Access Level
Website Owner
I've found a fix for this. It looks to me like it might've been copying in the old modules without any recompliation.
I discovered ~root/.eastore where there's a script 'after_apache_make_install' plus copies of the module .so files.
I removed the modules from Apache, and from .eastore, and editing the 'after_apache_make_install' script to remove references to these shared object files. Re-ran the build and all works. And it's built new copies of mod_h264_streaming.so/mod_flvx.so and another - mod_substitute.so - which was also problematic. So all good!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.