wrong ELF class error usually means that you attempted to run Spirent TestCenter API with 64 bit tcl.
You will need to compile 32 bit TCL and use that.