On 15/08/2014, at 11:54 PM, Philipp Zeuner <[email protected]> wrote:
> I got stuck in the installation process of mod_wsgi on SLES 11 SP2. > > Unfortunately I had to break the dependencies for glibc and pythonlib to > compile apache2-mod_wsgi 3.4-2.12.1. Which was successful, but I guess very > rude to system core. > > I'm running SLES 11 SP2 Linux SERVER 3.0.101-0.7.17-default #1 SMP Tue Feb 4 > 13:24:49 UTC 2014 (90aac76) x86_64 x86_64 x86_64 GNU/Linux on a Apache/2.2.12 > (Linux/SUSE) > > However, I've configured the mod_wsgi properly in the apache files and after > executing /etc/init.d/apache2 start : > > Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 117 of > /etc/apache2/httpd.conf: Syntax error on line 23 of > /etc/apache2/sysconfig.d/loadmodule.conf: > Cannot load /usr/lib64/apache2/mod_wsgi.so into server: > /usr/lib64/apache2/mod_wsgi.so: undefined symbol: ap_unixd_config > > I'm running out of ideas and I appreciate any new directions for > troubleshooting! Where did the mod_wsgi.so binary object come from? Is it from an installed binary distro package? Did you install it from source code? The problem is that the mod_wsgi.so appears to be for Apache 2.4, as ap_unixd_config only appeared in Apache 2.3/2.4 and it is not in Apache 2.2, where it was previously called unixd_config. So, you have either installed a binary mod_wsgi.so from the wrong Apache version, or you have installed an Apache dev package (header files) for Apache 2.4, even though you have Apache 2.2, and thus compiled mod_wsgi from source code against wrong header files. Graham -- 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 http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
