Hi,

I'm posting this in case anyone else is having trouble persuading the current FreeBSD 5.4 'port' installations of mod_python / Apache2, and Django to play together nicely.

Trivial mod_python examples work fine, but attempts to run Django result in Apache crashing with:

  Fatal error 'Spinlock called when not threaded.' ...

This is with everything compiled to use libpthread (the default).

The cure to the problem seems to be to revert everything to use /lib/ libc_r.so.

So, create an  /etc/libmap.conf, with:

    libpthread.so.1    libc_r.so.5
    libpthread.so      libc_r.so


My installation:
    apache-2.0.54_2
    mod_python-3.1.4_1

Hope this saves someone wasting a day or so ..

Reply via email to