Hi
With newer versions you need the libthread from tclthread.
You can download and compile or you can use a package. In debian lenny the actual libthread package has a precompiled module for aolserver.
The error appears when that module is not found.
You can comment it in the config.tcl , and maybe it can work, but is better install the module.