Dispatcher for Mac OS 10.12 Sierra | Community
Skip to main content
Level 2
June 7, 2017
Solved

Dispatcher for Mac OS 10.12 Sierra

  • June 7, 2017
  • 2 replies
  • 1849 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by faisalarabi

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

2 replies

faisalarabi
faisalarabiAccepted solution
June 7, 2017

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

Level 2
June 8, 2017

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.