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# 20154

6.3i Install - Red Hat Linux Enterprise 3.0 error: "$XILINX/bin/lin/libgcc_s.so.1: version 'GCC_3.3' not found"

Description

Keywords: ISE, 6.1i, 6.2i, redhat, ee, GCC, libgcc

The installation of ISE went as expected, but when I run any of the implementation tools, the following error occurs:

"<executeable> $XILINX/bin/lin/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.5)"

Solution

To work around this issue, try to change where the code finds libgcc to a path with a newer version. After running the GREP command above, you might observe that the GCC_3.3 is present in the path, except it is not the first library listed. You can fix this by adding a "/lib" to the LD_LIBRARY_PATH of ".cshrc".

Example

The previous LD_LIBRARY_PATH looks like this:
LD_LIBRARY_PATH=/usr/lib:/tools/xilinx63/bin/lin

After making the change:
LD_LIBRARY_PATH=/lib:/usr/lib:/tools/xilinx63/bin/lin

Code compiled with GCC versions 3 and higher are linked to a runtime library, libgcc. Inside this library, they reveal a symbol to indicate the compatibility of the code within. Newer releases of the library contain a list of these symbols as seen in the following output:

$ strings /lib/libgcc_s.so.1 |fgrep GCC_
GCC_3.0
GCC_3.3
GCC_3.4
GCC_3.3.1

Consequently, newer compilers have libraries that should work with code compiled against older GCC versions. If you try to run code that was compiled on a newer revision of libgcc on a system that uses a lower revision of libgcc, the error occurs.

To summarize, the ISE executable run expects a newer version of libgcc than the one in $XILINX/bin/lin/libgcc_s.so.1.
AR# 20154
Date Created 10/11/2004
Last Updated 07/05/2006
Status Archive
Type General Article