Comment 0 for bug 749720

I just installed libapache2-mod-wsgi-py3. Apache gave an error after the attempt to restart:

# service apache2 restart
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/wsgi.load: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: /usr/lib/apache2/modules/mod_wsgi.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!

# ls /usr/lib/apache2/modules/mod_wsgi.so* -l
lrwxrwxrwx 1 root root 17 2011-04-03 18:54 /usr/lib/apache2/modules/mod_wsgi.so -> mod_wsgi.so-3.2-1
-rw-r--r-- 1 root root 156320 2010-12-03 19:59 /usr/lib/apache2/modules/mod_wsgi.so-3.1
-rw-r--r-- 1 root root 156320 2010-12-03 19:59 /usr/lib/apache2/modules/mod_wsgi.so-3.2

Attempt to fix:
# cp -lf /usr/lib/apache2/modules/mod_wsgi.so{-3.2,}

Now i get:
# service apache2 restart
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/wsgi.load: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: /usr/lib/apache2/modules/mod_wsgi.so: undefined symbol: PyCObject_FromVoidPtr
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!