Forum OpenACS Q&A: Response to AOLserver-oacs1 compilation errors, and how to do 4.5 with nsunix?

you're far better off compiling the modules against the source tree of the nsd that you're actually using.  mixing and matching .so that are compiled against different versions is a good recipe to crash and burn.