If you are running an old GAMS system under 32-bit Sparc Solaris and you do not have a Fortran Run-Time Environment (RTE) installed, then you will need to use the shared libraries contained in the zip files sun_sogms57.zip (Solaris 5.7) or sun_sogms58.zip (Solaris 5.8 and up).
The GAMS system uses dynamic linking for the Fortran run-time libraries, so these libraries must exist on your system for GAMS to run. You can check if you have these libraries by using the ldd command, which simulates the run-time loading. If you run ldd in the GAMS sysdir you may see output similar to the following:
$ldd gmsmi_ux.out libdl.so.1 => /usr/lib/libdl.so.1 libfui.so.1 => /opt/SUNWspro/lib/libfui.so.1 libfai.so.1 => /opt/SUNWspro/lib/libfai.so.1 libfai2.so.1 => /opt/SUNWspro/lib/libfai2.so.1 libfsumai.so.1 => /opt/SUNWspro/lib/libfsumai.so.1 libfprodai.so.1 => /opt/SUNWspro/lib/libfprodai.so.1 libfminlai.so.1 => /opt/SUNWspro/lib/libfminlai.so.1 libfmaxlai.so.1 => /opt/SUNWspro/lib/libfmaxlai.so.1 libfminvai.so.1 => /opt/SUNWspro/lib/libfminvai.so.1 libfmaxvai.so.1 => /opt/SUNWspro/lib/libfmaxvai.so.1 libfsu.so.1 => /opt/SUNWspro/lib/libfsu.so.1 libsunmath.so.1 => /opt/SUNWspro/lib/libsunmath.so.1 libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
If the ldd command does not complain about missing libraries, it is likely you have the Fortran RTE installed, and can run GAMS without further ado. If the ldd command complains about missing libraries, then you have several options:
mkdir -p /opt/SUNWspro/lib cd /opt/SUNWspro/lib unzip /path/to/sun_sogms58.zip
cd /your/gams/sysdir unzip /path/to/sun_sogms58.zip
The GAMS system directory is added to LD_LIBRARY_PATH
when GAMS runs so the Fortran-based solvers will find the libs in the GAMS sysdir.
LD_LIBRARY_PATH
to point to this: mkdir /your/special/spot cd /your/special/spot unzip /path/to/sun_sogms58.zip export LD_LIBRARY_PATH=/your/special/spot:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH /your/special/spot:$LD_LIBRARY_PATH