[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20020807: Problem with GEMPAK5.6f



James,

Its possible that your SparcWorks libraries are a little old.
The programs are linked against SUN WS6.0.

Run the ldd command to see if it complains about not finding the Fortran
shared libraries:

ldd $GEMEXE/dcgrib2


Here I get:
ldd $GEMEXE/dcgrib2
        libm.so.1 =>     /opt/SUNWspro/lib/libm.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libF77.so.4 =>   /opt/SUNWspro/lib/libF77.so.4
        libM77.so.2 =>   /opt/SUNWspro/lib/libM77.so.2
        libsunmath.so.1 =>       /opt/SUNWspro/lib/libsunmath.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1

The most likely problems would be in not finding the libsunmath.so.1
and libF77.so.4, libM77.so.2 libs.

If necessary, I provided the Solaris fortran libraries that you could download 
if you do not have the current ones installed.
You could download them to $GEMLIB and add that directory to the front
of your LD_LIBRARY_PATH variable so that they are found before
any in your /opt/SUNWspro/lib directory.

Steve Chiswell
Unidata User Support


>From: James Murakami <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200208072002.g77K2wK03425

>Hi.
>
>I downloaded the binary version of GEMPAK5.6f (for a SUN sparc machine).
>At least a couple of the decoders aren't working for me. For example,
>if I do a "dcgrib2 -h", I get the following error:
>
>/home/ldm/5.6f/bin/sol> dcgrib2 -h
>ld.so.1: dcgrib2: fatal: relocation error: file dcgrib2: symbol __s_rsFe_pv: 
>referenced symbol not found
>Killed
>
>
>I set the NAWIPS directory (in Gemenviron) to point to "/home/ldm/5.6f", where
>  I 
>untarred the package. The only other modification I made to Gemenviron was 
>locations of data directories. The .cshrc file includes "/opt/SUNWspro/bin" fo
> r 
>path and "SUNPRO_SB_EX_FILE_NAME /opt/SUNWspro/SW3.1/lib/sun_source_browser.ex
> " 
>and "LD_LIBRARY_PATH /opt/SUNWspro/lib:$OPENWINHOME/lib:/usr/dt/lib:/usr/ucbli
> b" 
>for setenv.
>
>I'm currently using version 5.6c, but I'd wanted to upgrade.
>Thank you in advance.
>
>James
>
> 
>--------------------------------------
>James Murakami
>Staff Meteorologist/Student Affairs
>Department of Atmospheric Sciences
>University of California, Los Angeles
>405 Hilgard Ave.
>Los Angeles, CA  90095-1565
>
>
>   e-mail:  address@hidden
>telephone:  310-825-2418
>      Fax:  310-206-5219
>---------------------------------------
>