I am confused about why you are copying the mod_wsgi.so file anywhere. When you 
install mod_wsgi using yum, it should put everything in the correct place to 
start with.

Are you also using Apache install by yum?

Are you also trying to install mod_wsgi using pip?

That error indicates that the Apache installation you are using is much older 
than the version the mod_wsgi module was compiled for.

Graham

> On 8 Nov 2017, at 10:37 AM, O haya <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to use WSGI on Apache 2.4.x on CENTOS.
> 
> I installed mod_wsgi using yum (yum install mod_wsgi), then I copied the 
> mod_wsgi.so to the Apache modules dir and added a Load Module for mod_wsgi.
> 
> However, when I try to start Apache I am getting this:
> 
> /apps/apache/bin/apachectl start
> 
> httpd: Syntax error on line 152 of /apps/apache/conf/httpd.conf: Cannot load 
> modules/mod_wsgi.so into server: /apps/apache/modules/mod_wsgi.so: undefined 
> symbol: ap_accept_lock_mech
> 
> Can anyone tell me why this error is occurring and also, how can I get 
> mod_wsgi to work?
> 
> Thanks,
> Jim
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to