GrahamDumpleton / mod_wsgi

Source code for Apache/mod_wsgi.
Apache License 2.0
1.02k stars 269 forks source link

Cannot load modules/mod_wsgi.so into server: /local/apps/tcapp/apache/modules/mod_wsgi.so: cannot open shared object file: No such file or directory #881

Open joythebest83 opened 5 months ago

joythebest83 commented 5 months ago

I am getting above mentioned error while restarting Apache. I have already entered LoadModule wsgi_module modules/mod_wsgi.so in httpd.conf. I have installed wsgi_module via yum install command so that I don't need to worry about dependencies.

sudo yum -y install mod_wsgi

image

GrahamDumpleton commented 5 months ago

Obvious thing is whether the file /local/apps/tcapp/apache/modules/mod_wsgi.so actually exists.

One can though also get that misleading error when any shared library linked to the mod_wsgi.so file cannot be found when the dynamic linker is run.

What do you get when you run:

ls -las /local/apps/tcapp/apache/modules/mod_wsgi.so

and:

ldd /local/apps/tcapp/apache/modules/mod_wsgi.so