Jean-Luc Vay wrote:
> 
> I have compiled opendx on linux-redhat-7.0 (just installed) with
> OpenMotif and mesa. After an almost smooth build (had to add
> -lXp by hand), I get the following error message while trying
> to run dx:
> 
> /usr/local/dx/bin_linux/startupui: error while loading shared libraries:
> libXm.so.2: cannot open shared object file: No such file or directory
> 
> I found the shared library libXm.so.2.1 in /usr/X11R6/lib, not
libXm.so.2.
> I tried rerun dx after renaming libXm.so.2.1 to libXm.so.2 and the error
> is still the same.
> 

Your softlinks for OpenMOTIF install are broken.
You should consider isntalling OpenMOTIF rpms from motifzone.net.  I know
they work just fine.

Suhaib



> What should I do?
> Thanks for you help.
> 
> Jean-Luc

$ ls /usr/X11R6/lib/libXm.s*
/usr/X11R6/lib/libXm.so  /usr/X11R6/lib/libXm.so.2 
/usr/X11R6/lib/libXm.so.2.1

$ ls -l /usr/X11R6/lib/libXm.s*
lrwxrwxrwx    1 root     root           12 Oct  4 16:40
/usr/X11R6/lib/libXm.so -> libXm.so.2.1
lrwxrwxrwx    1 root     root           12 Oct  4 16:40
/usr/X11R6/lib/libXm.so.2 -> libXm.so.2.1
-rwxr-xr-x    1 root     root      1930379 Jan 10 00:47
/usr/X11R6/lib/libXm.so.2.1

Can you verify this

$ rpm -qf /usr/X11R6/lib/libXm.so.2 
openmotif-2.1.30-8
$ rpm -qf /usr/X11R6/lib/libXm.so   
openmotif-devel-2.1.30-8
$ rpm -qf /usr/X11R6/lib/libXm.so.2.1
openmotif-2.1.30-8

Reply via email to