I am trying to setup dispatcher on mac sierra using only available dispatcher module for Mac. I am getting following errors:
httpd: Syntax error on line 175 of /usr/local/etc/apache2/2.4/httpd.conf: Cannot load /usr/local/etc/apache2/2.4/modules/mod_dispatcher.so into server: dlopen(/usr/local/etc/apache2/2.4/modules/mod_dispatcher.so, 10): Symbol not found: _apr_stat$INODE64\n Referenced from: /usr/local/etc/apache2/2.4/modules/mod_dispatcher.so\n Expected in: flat namespace\n in /usr/local/etc/apache2/2.4/modules/mod_dispatcher.so
Please help me out if you any idea about this error.
Regards,
Salman
Solved! Go to Solution.
Are you using Apache available OOTB? I had a similar issue when trying to use XAMPP, MAMPP. The .so file is compiled against a different lib and therefore creates an issue.
Instead, I used Mac installed Apache available under /etc/apache2 which fixed the issue.
Here is the article I used as reference.
Setting up a Dispatcher on OS X - Bruce Lefebvre
Hope that helps.
Thanks,
Faisal
Are you using Apache available OOTB? I had a similar issue when trying to use XAMPP, MAMPP. The .so file is compiled against a different lib and therefore creates an issue.
Instead, I used Mac installed Apache available under /etc/apache2 which fixed the issue.
Here is the article I used as reference.
Setting up a Dispatcher on OS X - Bruce Lefebvre
Hope that helps.
Thanks,
Faisal
Thanks Faisal, That really helps. Only I was not able to copy .so file under /usr/libexec/apache2. permission dennied on Mac Sierra. I have created new folder for that under /usr/local/etc/apache2.