tools (7) programming (6) cluj (4) productivity (4) rails (4) misc (3) startups (3) internet (2) software (2) emberjs (1) hack (1) meetup (1) os x (1) science (1)

Monday, March 12, 2012

How to install libXm on Fedora 16

error while loading shared libraries:
To get the libXm library you need to get OpenMotif package, which is available from the RPMFusion repository.

Fire up a terminal:

sudo yum install wget
RPM Fusion provides software that the Fedora Project or Red Hat doesn't want to ship.
sudo rpm -if rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm
Motif is the industry standard toolkit for UNIX systems and Open Motif, based on the Motif source code, provides a freely available version for open source developers.
sudo yum install openmotif.x86_64

Now just link the package to where it should usually be found:

sudo ln -s /usr/lib64/openmotif/ /lib64/

P.S.: You can always use yum whatprovides * to see what package provides a missing library.