Ubuntu 19.10安装Xilinx ISE 14.7(支持Spartan 3E)遇依赖库错误求助
I've run into this exact issue before when setting up legacy Xilinx tools on newer Ubuntu releases—let's get you sorted out. The problem is that Ubuntu 19.10 ships with libncurses6 instead of the older libncurses5 that ISE 14.7 depends on, and the standard repos for 19.10 don't include the older library anymore. Here are two reliable fixes:
Option 1: Create a Symbolic Link (Quickest Fix)
Most of the time, the newer libncursesw.so.6 is backward-compatible with libncurses.so.5. Just create a soft link to trick ISE into finding the library:
First, check if the 6.x version exists on your system:
ls /lib/x86_64-linux-gnu/libncursesw.so.6If you see a file path printed, proceed.
Create the symbolic link for both the regular and wide-character versions (ISE might look for either):
sudo ln -s /lib/x86_64-linux-gnu/libncursesw.so.6 /lib/x86_64-linux-gnu/libncurses.so.5 sudo ln -s /lib/x86_64-linux-gnu/libncursesw.so.6 /lib/x86_64-linux-gnu/libncursesw.so.5Try running the installer again:
sudo ./xsetup
Option 2: Add Older Ubuntu Repositories (If Soft Link Fails)
If the symbolic link doesn't work (some legacy tools are picky), you can add the Ubuntu 18.04 (Bionic Beaver) repos to fetch libncurses5:
Open your sources list with a text editor:
sudo nano /etc/apt/sources.listAdd these lines at the end of the file:
deb http://archive.ubuntu.com/ubuntu bionic main universe deb-src http://archive.ubuntu.com/ubuntu bionic main universeUpdate your package list and install
libncurses5:sudo apt update sudo apt install libncurses5Note: You might get some package conflict warnings—ignore them unless they prevent the installation from completing.
After installing, you can comment out the Bionic repos in
sources.listif you don't want future updates pulling from older versions.
Once you've got libncurses.so.5 available, the ISE 14.7 installer should run without that error. Keep in mind you might hit other dependency issues later (like older versions of libstdc++), but we can cross that bridge if needed!
内容的提问来源于stack exchange,提问作者rafael ayllán

