Installation error, error while loading shared libraries: libXm.so.3 – part 1

Problem

I have downloaded ASReml and i am getting the following error message when trying to run the program: ASReml /usr/local/asreml2/bin/asreml: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory. Happens on Fedora, Linux, Suse or Red Hat platforms

Solution

The error that you are receiving suggests that there is no libXm.so.3 file.  The library you require is part of openmotif. You might be able to use the command yum to install it: “yum install openmotif”, alternatively you can download an rpm and install from that.

Please go to http://rpm.pbone.net and then search for libXm.so.3. You can limit the search to the appropriate OS, e.g. Fedora.  You will need to download which ever option matches the appropriate OS.

Having downloaded the file you can install using the command:

rpm –install xxxx.rpm

Once you have installed the library, please open up ASReml2 and it should then run successfully.

Applies to:

  • ASReml 2 for Linux

Discussion

Comments are disallowed for this post.

Comments are closed.