So, here is the breakdown of what happened so far, after I decided to migrate to mod_wsgi from mod_python. My server is running CentOS 5.5 64bit with apache 2.2 (from yum) and Python 2.5.4 (compiled from source with --enable-shared, prefixed /usr/local).
I first downloaded the source and compiled mod_wsgi, with no major problems (just some thrown warnings at compile time). I edited my httpd.conf and added appropriate LoadModule and WSGIScriptAlias statements, and added a django.wsgi, etc, etc. When I went to restart apache, I got this: httpd: Syntax error on line 31 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wsgi.so into server: /usr/local/lib/ libpython2.5.so.1.0: undefined symbol: emacs_meta_keymap Emacs? WTF? After some grepping and discussing, I realized the problem lied in the readline library, which I need because the python interpreter is unusable without it. I went ahead, got the source for Python 2.5.5, commented out references to emacs_meta_key (around line 707 in readline.c), and built and installed it. I did a make clean/ distclean, recompiled without options, and again --with-python and -- with-apxs manually set, and both times I get the following: httpd: Syntax error on line 31 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wsgi.so into server: /usr/local/lib/ libpython2.5.so.1.0: undefined symbol: rl_instream Now yet another error referring to readline. I have never seen these type of errors before. The python interpreter still works fine. Has anyone else ran into this issue, or does anyone have any insight? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
