Ansys Learning Forum › Forums › Discuss Simulation › Photonics › How to install missing libraries in Linux › Reply To: How to install missing libraries in Linux
July 27, 2022 at 10:24 pm
Ansys Employee
Opening Lumerical CAD/GUI with the following error:
../fdtd-solutions-app: error while loading shared libraries: libglut.so.3: cannot open shared object file:...
The package, ‘freeglut’ which provides these libraries, need to be installed. For users without root access, manually download ‘freeglut’ from your Linux distribution’s website and then extract and copy this into the Lumerical installation folder.
Install with root access:
- RHEL/CentOS
sudo yum install freeglut
- Ubuntu
sudo apt-get install freeglut3
- SLES
sudo zypper install freeglut-devel
Install without root access on RHEL/CentOS/SLES:
Download the RPM package for your Linux distribution. Extract and copy the libraries into the Lumerical installation path on your machine.
wget http://mirror.cenos.org/centos/7/os/x86_64/Packages/freeglut-3.0.0-8.el7.x86_64.rpm
rpm2cpio < freeglut-3.0.0-8.el7.x86_64.rpm | cpio -i -d
cp /usr/lib64/* /installpath/lumerical//libÂ