Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing mod-wsgi on Apache server

I'm installing mod-wsgi and following this guide when I get up to this step:

To install the Apache module into the standard location for Apache modules as dictated by Apache for your installation, run:

make install

however when I run sudo make install I get this error

wrong number of arguments to instdso.sh
Usage: instdso.sh SH_LIBTOOL-value dso-name path-to-modules
apxs:Error: Command failed with rc=65536

I tried searching the web for this error but couldn't find anything and mod-wsgi's installation issues page doesn't talk about this error at all. Any idea what might be wrong?

like image 795
Embattled Swag Avatar asked Feb 22 '15 02:02

Embattled Swag


People also ask

Does Apache support WSGI?

mod_wsgi is an Apache module which can host any Python WSGI application, including Django. Django will work with any version of Apache which supports mod_wsgi. The official mod_wsgi documentation is your source for all the details about how to use mod_wsgi.

What is Apache WSGI?

WSGI stands for "Web Server Gateway Interface". It is used to forward requests from a web server (such as Apache or NGINX) to a backend Python web application or framework. From there, responses are then passed back to the webserver to reply to the requestor.


1 Answers

I realized this is an old question, but in case someone else stumbles upon this...

Try to run ./configure again and retry sudo make install. It fixed the problem for me. Good luck.

like image 169
dylansturg Avatar answered Oct 28 '22 13:10

dylansturg