Pathway Tools Installation Guide -- OpenMotif

Under Linux and MacOS X, Pathway Tools requires a specific variation of the Motif libraries called OpenMotif. Some Linux distributions contain OpenMotif by default. Other Linux distributions use a different variation of these libraries called LessTif. LessTif is incompatible with Pathway Tools. MacOS X does not come with any version of Motif by default.

The instructions for installing OpenMotif for MacOS X can be found here at the Franz Allegro web site (FAQ item 2.8-2). The instructions say that they are for MacOS X 10.2 and 10.3 but they also work for 10.4.

These instructions require building OpenMotif from source. It may also be possible to install OpenMotif using a package manager such as Fink, however we have not tried this and cannot guarantee that it will work.

How to tell which variation of the Motif libraries you have. In our experience, Fedora Core 3 and Fedora Core 4 have OpenMotif by default, so you should not need to install it. You can determine if your Linux has OpenMotif installed as follows.

To install OpenMotif for Linux, we encourage you to use whatever package manager your verion of Linux supports and use that to download it from the MotifZone Web site. Select a 2.2 version (2.2.2 and 2.2.3 have the correct version of the library and have both been verified to work -- 2.3 does not). Follow the installation instructions from the OpenMotif Web site. Installation will require access as the root user.

Pathway Tools for 32-bit Linux uses Motif via the file libXm.so.3 while for 64-bit Linux it uses libXm.so.4 . Depending on the version of Linux you are running, you may not have these However, OpenMotif nowadays is often distributed as libXm.so.3 , which is upward compatible with libXm.so.2 , so if your OpenMotif distribution contains libXm.so.3 but not libXm.so.2 , then you can create a symbolic link libXm.so.2 that points to libXm.so.3 so that Pathway Tools will be able to access OpenMotif via libXm.so.2 . This example shows how to make this symlink (you will need to be the root user):

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

If this is not done, an error of the following kind can occur when starting up Pathway Tools:

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