Error while loading shared libraries: libXm.so.3 or libXp.so.6

rpm -qa |grep openmotif

The file libXm.so.3 or libXp.so.6 should be in /usr/X11R6/lib64. If it is not there, install the 64-bit as well as the 32-bit Motif shared libraries needed to run the application.

For RHEL4:

openmotif-2.2.3-6.RHEL4.2
openmotif-2.2.3-5.RHEL3.7.x86_64.rpm

For RHEL5:

openmotif22-2.2.3-18
openmotif22-2.2.3-18
openmotif-devel-2.3.0-0.3.el5
openmotif-2.3.0-0.3.el5
openmotif-2.3.0-0.3.el5
openmotif-devel-2.3.0-0.3.el5

For SUSE Enterprise 10:

openmotif-2.2.4-21.2
openmotif21-libs-32bit-2.1.30MLI4-143.2
openmotif-libs-2.2.4-21.2
openmotif-devel-32bit-2.2.4-21.2
openmotif-libs-32bit-2.2.4-21.2
openmotif-devel-2.2.4-21.2
openmotif-demo-2.2.4-21.2

If after installing the required RPMs and you run into the same error symlink libXm.so.3 to libXm.so.4

One other option is to put the library in the so_post directory in gambit (or create one if it does not exist). That way the system files are not altered, but gambit should be able to resolve it from so_post.





Show Form
No comments yet. Be the first to add a comment!