2

I recently installed Vivado 2019.1 on Ubuntu by running sudo ./xsetup. I didn't pay attention where Vivado was installed, so by default it was installed in /tools/Xilinx/Vivado. Because of that, I can't run the application there. Therefore, I decided to uninstall it. I run ./xsetup -Uninstall but it gives me the error as below.

Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.File.<init>(Unknown Source)
at com.xilinx.installer.gui.panel.summary.SummaryPanel.b(Unknown Source)
at com.xilinx.installer.gui.panel.summary.UninstallerSummaryPanel.<init>(Unknown Source)
at com.xilinx.installer.gui.r.a(Unknown Source)
at com.xilinx.installer.gui.InstallerGUI.D(Unknown Source)
at com.xilinx.installer.gui.InstallerGUI.e(Unknown Source)
at com.xilinx.installer.api.InstallerLauncher.main(Unknown Source)

I googled it and also checked here but couldn't find out what to do.

Kulfy
  • 18,154

2 Answers2

3

Vivado is looking for a specific library called libtinfo.so.5. The package can be found in Ubuntu repositories at packages.ubuntu.com.

The so.5 indicates this is the 5th version of the libtinfo library. This version might not be installed on your system. libdri_commontask.so needs this library to be installed in a specific place.

I had the same issue on Ubuntu 19.04 trying to use Vivado 2019.1 SDK. I got it working by running the following commands in a terminal:

sudo apt update
sudo apt install libtinfo-dev
sudo ln -s /lib/x86_64-linux-gnu/libtinfo.so.6 /lib/x86_64-linux-gnu/libtinfo.so.5
Eliah Kagan
  • 119,640
0

On 20.04

sudo apt install libtinfo5
hmaarrfk
  • 101