Gustav,
Thank you very much for the reply.
I have checked the values of LDLIB and TCL_SHLIB_LD as root and both are NULL.
This is a RedHat 8.0 installation and I have several versions of tcl installed. The version of tcl that runs by default when is the one that shipped with the distribution which is tcl 8.3.3. At some time I have obviously installed tcl and tk 8.4 in /usr/local/lib which was probably when I moved from ad33.13 to Aolserver 4.0.
In my attempt to compile Aolserver 4.5.0 I have compiled tcl 8.5.5 into /usr/local/aolserver45r0/lib as per Malte's published instructions (actually I worked through his script by hand).
This version works fine when I launch it explicitly by typing /usr/local/aolserver45r0/bin/tclsh8.5
Regards
Richard