LibXm.so.3 missing

From COSSAN Wiki
Jump to: navigation, search

PROBLEM: Tried to run COSSAN:

[hjp@c810-cl1 Bin]$ ./COSSAN ./COSSAN: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

Problem is that if openmotif (Window managing program of COSSAN) is not installed, this library is missing.

Solution (provided by Edo)

  1. Download and install openmotif for FC6:
wget http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/6/i386/openmotif-2.3.0-0.1.9.3.fc6.ccrma.i386.rpm
rpm -ivh openmotif-2.3.0-0.1.9.3.fc6.ccrma.i386.rpm
  1. Download openmotif for F8:
wget http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/8/i386/openmotif-2.3.0-0.3.fc8.ccrma.i386.rpm
rpm -ivh openmotif-2.3.0-0.3.fc8.ccrma.i386.rpm
  1. Download openmotif for F10:
cd /tmp 
sudo wget http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/i386/openmotif-2.3.0-0.3.fc10.ccrma.i386.rpm
sudo rpm -ivh openmotif-2.3.0-0.3.fc10.ccrma.i386.rpm
cd /usr/lib/
sudo ln -s libXm.so.4 libXm.so.3
  1. Download openmotif for F11:
cd /tmp 
sudo wget http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/11/i386/openmotif-2.3.0-0.3.fc11.ccrma.i586.rpm
sudo rpm -ivh openmotif-2.3.0-0.3.fc11.ccrma.i586.rpm
cd /usr/lib/
sudo ln -s libXm.so.4 libXm.so.3


  1. IMPORTANT
    • Set up symbolic link: go to /usr/lib/; execute: ln -s libXm.so.4 libXm.so.3