The Astrotcl shared library libastrotcl.sl (in HPs) or libastrotcl.so (on Suns) is built with the same options used to build the Tclutil and Tcl shared libraries. The options are read from the file tclutilConfig.sh, which is produced the Tclutil configure script.
You may need to modify the SHLIB_PATH (HP) or LD_LIBRARY_PATH (Sun) environment variable so that the necessary shared libraries are found at run time. Both variables have the same format: a colon ":" separated list of directories to search for shared libraries.
From a tcl script you can load the ASTROTCL library dynamically with the command "load <path>/libastrotcl.sl" or "load <path>/libastrotcl.so" or it can be loaded automatically as a package . See the Tcl man pages for more information.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory