Here is a startup script for AOLserver 3.5. It occurred to me that it is only a matter of time before these questions start filling up my inbox and voice mail so here is a good startup script to help you run AOLserver 3.5 with the new Tcl library. My example is for Linux on Red Hat 8.0 but can be used elsewhere with very minor tweaks at the top of the file. Notice here that I have installed libtcl8.4 and its files into /usr/local/tcl8.4.0. I highly recommend doing this as it removes any doubt that you are using the correct thread-enabled version of libtcl. I do not yet know the implications of moving the Tcl directory to a different location after building AOLserver so you should watch for errors that mention missing encoding files and other Tcl support files normally found with the tcl library--at the very least, UTF-8 encoders probably wouldn't work without knowing the correct path to the Tcl library. If you built AOLserver after you build Tcl then it should find it in the correct place but you may need to make sure that the TCLHOME variable, below, is pointing to the same place as well.
---cut here--- #!/bin/sh NSHOME=/export/home/nsadmin NSUSER=nsadmin NSGROUP=nsadmin TCLHOME=/usr/local/tcl8.4.0 LOGGER="/usr/bin/logger -t $NSUSER:$NSGROUP -p warning" SLEEP=/bin/sleep SLEEPTIME=1 LD_LIBRARY_PATH=$NSHOME/lib:$TCLHOME/lib export LD_LIBRARY_PATH cd $NSHOME $LOGGER "AOLserver is starting." ./bin/nsd -izt ./nsd.tcl -u $NSUSER -g $NSGROUP $LOGGER "AOLserver has stopped." $SLEEP $SLEEPTIME ---cut here---