Thanks for your help Graham, embarrassingly, many of my problems stemmed from using
$ service httpd restart to control my apache daemon rather than $ /etc/init.d/httpd restart As 'service' will remove some of your environment variables (PYTHONHOME seems to be key - WSGIPythonHome didn't seem to have any effect). > What do you mean here? Ie., what does patchelf do and how does it > change the output from ldd on mod_wsgi.so? patchelf modifies the dynamic linker and RPATH of ELF executables. Unfortunately setting --with-python= and LD_RUN_PATH had no effect for me, so but a quick $ patchelf --set-rpath /lib64:/path/to/my/custom/lib /etc/httpd/modules/mod_wsgi.so did the job. - ldd now searches for dynamic libs in /lib64 and /path/to/my/custom/lib and finds the appropriate non-system python. Thanks, Dan ---------------------- Daniel O'Donovan [email protected] -- 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.
