this is 99% a lib path issue of multiple installed TCL versions. make sure the first 'LD_LIBRARY_PATH' entry points to the one eggdrop is linking with (get to know with 'ldd eggdrop'). Use the search function to get to more about it.
ex. how it should look like: (highlighted paths must match)
~/STARZ$ ldd eggdrop
libtcl8.4.so => /usr/local/lib/libtcl8.4.so (0x40018000)
libm.so.6 => /lib/libm.so.6 (0x400cb000)
libdl.so.2 => /lib/libdl.so.2 (0x400ed000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400f1000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x40106000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40119000)
libc.so.6 => /lib/libc.so.6 (0x4012b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
~/STARZ$ export | grep LD_LIBRARY_PATH
declare -x LD_LIBRARY_PATH="/usr/local/lib"
you should also make sure the one in ldd is the one from which ../include the header file is from with which the bot was compiled. Its not that important than the other thing, but it ensures max compatibility (header version can be seen with .status in partyline as example).
This problem occurs because eggdrop searchs first for /usr/local/lib which is also the default for TCL and debians default TCL is installed in /usr/lib
.
PS: of course the real solution for this problem to uninstall debians TCL and keep only the new TCL version
.