If the original creator of this link equated library package to binary code loadable from within Tcl, then certainly the SampleExtension TEA2 code is one place to begin.