6.6 The MLWorks runtime

6.6.1 SunOS and Solaris

The default installation procedure for SunOS and Solaris installs a version of the MLWorks runtime, mlrun, that is statically linked to Motif libraries. (See Section 3.4 on page 4 for another note related to the static runtime.)

On Solaris 2.4 and Solaris 2.5, MLWorks expects to find the OpenWindows versions of X11 and Xt, as distributed with Solaris by Sun. To ensure this, the scripts that run MLWorks add /usr/openwin/lib to your LD_LIBRARY_PATH environment variable.

MLWorks does not work with the version of Motif distributed by Sun (/usr/dt/lib/libXm.so). Attempts to use the dynamically linked runtime with this library are likely to fail.

Dynamically linked runtimes for MLWorks are shipped in the MLWorks 1.0r2 distributions for SunOS and Solaris. If you would prefer the dynamic runtime to be installed by default, you can edit the installation script to make that happen. The following shared libraries must be available on your system for the dynamically linked runtime to work:

Solaris
libm.so.1, libw.so.1, libXt.so.4, libX11.so.4, libXm.so.2.12, libsocket.so.1, libnsl.so.1, libintl.so.1, libelf.so.1, libdl.so.1, libc.so.1

SunOS
libXm.so.1.2, libXt.so.5.0, libX11.so.5.0, libc.so.1.9.2, libdl.so.1.0

To install the dynamically linked version of mlrun instead of the statically linked one, edit the install-mlworks script in the MLWorks distribution, and go to the line which reads:

RUNTIME=main-static 

Change the line to read:

RUNTIME=main

Now follow the installation procedure normally.


MLWorks Version 1.0r2 Release Notes - 1 JUL 1997

Generated with Harlequin WebMaker