Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

Why do I receive a fatal error running the installer for MATLAB v.v (R2007a) on Solaris about libmwins.so?


Date Last Modified: Friday, June 26, 2009
Solution ID:   1-4ALL9B
Product:   MATLAB
Reported in Release:   R2007a
Platform:   Solaris
Operating System:   Solaris Any
 

Subject:

Why do I receive a fatal error running the installer for MATLAB v.v (R2007a) on Solaris about libmwins.so?

Problem Description:

When running the installer on Solaris, I get the following error:
An error status was returned by the program 'xsetup', the X Window System version of 'install'. The following messages were written to standard error:

ld.so.1: xsetup: fatal: libmwins.so: open failed: No such file or directory
Afterwards the installer crashes and I cannot proceed.

Solution:

This error can occur if the installer is unable to setup the proper environment to perform the installation. To work around the issue, you can force the system to see the libmwins.so file by creating a system link to this library. To do this, run through the following steps:

1. Open a terminal window and change to root.

2. In the terminal run the following commands:

cd /usr/lib/64
ln -s $INSTALL/update/bin/sol64/libmwins.so libmwins.so
(where $INSTALL refers to the location you are running the installer from)

For example, if you are installing from a DVD and the DVD is mounted in /mnt/cdrom, then you would run the command:

ln -s /mnt/cdrom/update/bin/sol64/libmwins.so libmwins.so

3. After creating the link, run the installer again. You should be able to install at this point.

4. Once the installation is complete, remove the link by running the command:

rm /usr/lib/64/libmwins.so

Alternately, if the installation is run without root permissions, you can try creating or updating an environment variable (LD_LIBRARY_PATH_64)

setenv LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH_64}:${INSTALL}/update/bin/sol64

or

export LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH_64}:${INSTALL}/update/bin/sol64

(where $INSTALL refers to the location you are running the installer from)

Please provide feedback to help us improve this Solution
Contact support