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. > > What should I do? > Thanks for you help. > > Jean-Luc
Make sure that /usr/X11R6/lib line is in file /etc/ld.so.conf, then run command /sbin/ldconfig to let system knows the location of the shared object. Usually, it's better to use symbolic link instead of renaming the share object: ln -s /usr/X11R6/lib/libXm.so.2.1 /usr/X11R6/lib/libXm.so.2 -tsy
