Reputation: 11
Trying to get mod_wsgi started. Getting an fmod related reference error.
[root@host]# mod_wsgi-express start-server wsgi.py --port=80 \
> --user www-data --group www-data
Server URL : http://localhost/
Server Root : /tmp/mod_wsgi-localhost:80:0
Server Conf : /tmp/mod_wsgi-localhost:80:0/httpd.conf
Error Log File : /tmp/mod_wsgi-localhost:80:0/error_log (warn)
Request Capacity : 5 (1 process * 5 threads)
Request Timeout : 60 (seconds)
Queue Backlog : 100 (connections)
Queue Timeout : 45 (seconds)
Server Capacity : 20 (event/worker), 20 (prefork)
Server Backlog : 500 (connections)
Locale Setting : en_US.UTF-8
httpd (mod_wsgi-express):
Syntax error on line 151 of /tmp/mod_wsgi-localhost:80:0/httpd.conf: Cannot load /usr/local/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so into server: /usr/local/lib/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-i386-linux-gnu.so: undefined symbol: fmod
Upvotes: 0
Views: 605
Reputation: 961
I don't know if this will work for you but give it a shot since you are using python3
sudo apt-get remove libapache2-mod-python libapache2-mod-wsgi
sudo apt-get install libapache2-mod-wsgi-py3
I think Mr Graham Dumpleton is referring to the solution he posted almost a year ago on https://groups.google.com/forum/#!topic/modwsgi/L1iJeUpPTks
Upvotes: 2