UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 17378

Tcl - Tcl commands do not work after sourcing the "settings.(c)sh" file in the Xilinx directory

Description

Tcl programs and commands such as "wish" no longer work after I install ISE 8.2i (or later) andafter sourcing its variables.

Solution

The issue is that ISE 8.2i (and later) software installation includes its own "libtcl8.4.so" library, which is not the same as the library found on the machine.

To work around the issue, ensure that "/usr/lib" is in front of the "$Xilinx/bin/<plat>" directory in $PATH and $LD_LIBRARY_PATH.

When you run the Xilinx ISE/Project Navigator executable, the LD_LIBRARY_PATH will automatically be pre-appended with the Xilinx library location and run successfully with the Xilinx version of the "libtcl8.4.so" file. However, if "xtclsh" is run for command line scripting, outside of the Project Navigator environment, the LD_LIBRARY_PATH will not be changed.

NOTE: The "libtcl8.4.so" provided in the Xilinx install contains fixes for several critical issues including thread locking and memory leaks. Not all of these fixes have been accepted into the SourceForge/ActiveState releases. Xilinx has tested the software with the ActiveState binary release, and it does work. However, the issues fixed by Xilinx that have not been accepted into the ActiveState code will show up. Any user choosing this option should use 8.4.14, which has most, but not all, of the Xilinx fixes.

Linked Answer Records

Associated Answer Records

AR# 17378
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article