Ask Pathway Tools logo   Pathway Tools Question & Answer forum for SRI's Pathway Tools

Ask Your Question
0

Motif version: Problems with window resizing, fonts, and breaks

asked 2013-05-01 19:10:56 -0500

anonymous user

Anonymous

updated 2013-05-01 19:11:22 -0500

On Linux, I am having problems with windows: sub windows are the wrong size and cannot be resized, fonts look funny, and my system sometimes freezes when I try to use the mouse with Pathway Tools.What can I do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-05-01 19:13:25 -0500

quang777 gravatar image

The Unix Pathway Tools need Motif, which is a library of GUI widgets.Under Linux, the correct version needs to have been installed to avoidnumerous problems. The symptoms described above can all be caused by using Lesstif, a clone of the Motif window toolkit, rather than OpenMotif, which is a free version of the official Motif library.Ptools-8.0 expects Motif to be available as the dynamically loadable library libXm.so.2 . Make sure thatlibXm.so.2 (located in either /usr/lib or/usr/X11R6/lib ) points to the OpenMotif version, notLesstif.

Older Linux distributions tended to ship with Lesstif, in which caseyou need to download and install OpenMotif yourself. This will requireaccess as the root user. Download OpenMotif fromhttp://www.opengroup.org/openmotif/ .The version with the most bug fixes appears to be metrolink/openmotif-2.1.30-4_MLI.i386.rpm .

After installation, if you end up having bothlibXm.so.2 and libXm.so.3 , you probablyneed to delete the Lesstif libXm.so.2 , and make asymbolic link from libXm.so.3 to libXm.so.2( ln -s libXm.so.3 libXm.so.2 ).

Redhat-9.x Linux appears to be shipped with OpenMotif installed already. However, the version of the dynamically loadable library is different from what the Pathway Tools program expects. The following is an example of the failure symptom, when starting up the Pathway Tools:

Warning: Loading sys:climxm.so failed with error:
libXm.so.2: cannot open shared object file: No such file or directory.

If the Pathway Tools image wants libXm.so.2 but the OpenMotif installation does not have that particular version link, please try to make a symbolic link to "fake" that version, to see whether that will work. Some variation of this example should do it (you will need tobe the root user):

cd /usr/X11R6/lib
ln -s libXm.so.2 libXm.so

Then restart the Pathway Tools. This fix is known to work on Redhat-9.x.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-05-01 19:10:56 -0500

Seen: 13,062 times

Last updated: May 01 '13