Personal tools
You are here: Home Storage apache + mod_wsgi on FreeBSD

apache + mod_wsgi on FreeBSD

Posted by Rafal Zawadzki at Jun 18, 2010 12:51 PM |

trick how to use mod_wsgi + apache on FreeBSD

If after the compilation mod_wsgi on FreeBSD you are getting below message:

usr/local/apache2/modules/mod_wsgi.so: Undefined symbol "pthread_attr_init"

it means that you have to start you apache with some modyfication in dynamic linking, which simply saying is simply nothing more than set  environment variable like this:

LD_PRELOAD=/usr/lib/libc_r.so

In my case I put it into profile and shell rc files. Works perfectly.

Comments (0)