AR# 72130

/libstdc++.so.6: version `CXXABI_1.3.11' not found

Description

On Ubuntu 18.04.x, when launching a run configuration in the SDAccel or Vitis development environment, you might receive an error message similar to the following:

./host.exe: .../lib/lnx64.o/Ubuntu/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /opt/xilinx/xrt/lib/libxilinxopencl.so.2)

host.exe in the above error will be the name of your host application.

Solution

Method 1:

In the Run Configurations window, navigate to the Environment tab and remove the LD_LIBRARY_PATH variable set in the table.

 

ld_library_path_vitis.PNG


Method 2:

 

The installed version of the library file can be found in the following location:

<Installation Directory>/<version>/lib/lnx64.o/Default/libstdc++.so.6

The OS version of the library can be found in the following location:

/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25

You can either symbolically link or copy the OS file to overwrite the tool installed file. 

Below are instructions to copy and link the OS file, from within the <Installation Directory>/<version>/lib/lnx64.o/Default directory.

 

Note: It is recommended to save the original file to revert to if necessary.

 

cd <Installation Directory>/<version>/lib/lnx64.o/Default
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 .
mv libstdc++.so.6 libstdc++.so.6.bak
ln -s libstdc++.so.6.0.25 libstdc++.so.6

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
71729 SDAccel 2018.x - Known Issues N/A N/A
72773 Vitis 2019.x - Known Issues N/A N/A
AR# 72130
Date 01/26/2020
Status Active
Type Known Issues
Tools