Forum OpenACS Q&A: Re: Problem compiling Aolserver 4.5 with tcl 8.5.5
However, notice that nsconfig.tcl calls as well configure. configure.in has a similar section about LDLIB (if it contains *gcc* or *shared*, the flag "-nostartfiles" is added). So, it is essentially the same mechanism as in 4.0. What is the value of LDLIB on your system?