[Thread Prev][Thread Next][Index]

Ferret v5 on Solaris 2.5.1

At 2:12 am +0100 3/6/99, Steve Hankin wrote:
>*** Ferret V5.0 (BETA) Available on Solaris, Linux, and DEC (Compaq) ***


I'm having a real tough time trying to get Ferret v5 running on my Solaris
system. I've realised that Ferret v5 has been compiled under Solaris 2.6.
Unfortunately, this does not run on my Solaris 2.5.1 system, EVEN if you
get the X11R6 required libraries (libICE and libSM) as previously suggested.

The problem arises because libc.so has changed between solaris 2.5.1 and
2.6, which as you know is a fundamental system library. If I use the 2.5.1
version of libc I get:

$ ferret
ld.so.1: ferret: fatal: relocation error: file ferret: symbol fstat64:
d symbol not found

If I attempt to use the solaris 2.6 version of libc on my solaris 2.5.1
system to fix the symbol error I get instead:

$ ferret
Bad System Call

In fact any command at this point gives a bad system call. At this point, I
can't go any further.

Is there any chance of (a) recompiling on a solaris2.5.1 system, or (b)
compiling with -Bstatic for the required libraries. I'll list them below.
If you don't have a sol2.5.1 system I'd be more than willing to do the
compile myself or give you an account on our machine.

I'm copying this to the list in case someone smarter than me has already
got around this problem.

The loader shows Ferret wants the following libraries under Solaris 2.6. My
first guess would be to statically link these specific libraries and see if
that makes the problem go away. I'd really like to use Ferret v5,
particularly for the external functions.

$ ldd ferret
        libX11.so.4 =>   /opt/ferret/lib/libX11.so.4
        libdl.so.1 =>    /opt/ferret/lib/libdl.so.1
        libXt.so.4 =>    /opt/ferret/lib/libXt.so.4
        libICE.so.6 =>   /opt/ferret/lib/libICE.so.6
        libSM.so.6 =>    /opt/ferret/lib/libSM.so.6
        libm.so.1 =>     /opt/ferret/lib/libm.so.1
        libc.so.1 =>     /opt/ferret/lib/libc.so.1
        libXext.so.0 =>  /opt/ferret/lib/libXext.so.0
        libsocket.so.1 =>        /opt/ferret/lib/libsocket.so.1
        libnsl.so.1 =>   /opt/ferret/lib/libnsl.so.1
        libmp.so.2 =>    /opt/ferret/lib/libmp.so.2
                         ^^^^^^ these are Solaris 2.6 libraries.
What do you think?


Dr. Glenn Carver, Senior Research Associate,
Centre for Atmospheric Science, Chemistry Dept., Cambridge University, UK
mailto:Glenn.Carver@atm.ch.cam.ac.uk   http://www.atm.ch.cam.ac.uk/~glenn/

              "I never think of the future, it comes soon enough"
                   - Albert Einstein

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement