5

I have recently moved to Linux and am getting used to the OS, I managed to install and run Quartus 20.1 Lite and I was testing it out with an old working project. When I opened my waveform and ran the simulation I get

root/intelFPGA_lite/20.1/modelsim_ase/linuxaloem//vish: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

I have libXft.so.2 installed as I was able to find it using locate in the terminal. Is there something I'm missing? does the file need to be in the file listed above or do I need to play with permissions somehow?

Kevin Propst
  • 53
  • 1
  • 1
  • 3

1 Answers1

13

This is s common problem with using the "free" modelsim on modern linux distribution. Modelsim is 32b and is not very well packaged so it doesn't fetch its dependencies.

now, the solution is to install a lot of 32b packages.

    sudo  apt-get install libxft2 libxft2:i386 lib32ncurses5
    sudo apt install libxext6
    sudo apt install libxext6:i386

ref: https://yoloh3.github.io/linux/2016/12/24/install-modelsim-in-linux/

fgagnaire
  • 839
  • 9
  • 18
  • 5
    this works with one tweak, lib32ncurses5 has been updated and now requires the use of lib32ncurses6. Once those were run it worked like it should. Thanks! – Kevin Propst Jul 20 '20 at 17:03