[Thread Prev][Thread Next][Index]

A workaround to run the 5.40 binaries in Redhat 7.3



Dear all,
After some experimentation with LD_LIBRARY_PATH I got Ferret 5.40
up and running in Redhat 7.3!

Here is the recipe:

On a Redhat 7.1 (7.2 should also work I think) system we find the
following requirements for ferret:

[avle@fem avle]$ ldd /usr/local/ferret/bin/ferret_v540 
	libtermcap.so.2 => /lib/libtermcap.so.2 (0x40027000)
	libdl.so.2 => /lib/libdl.so.2 (0x4002c000)
	libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x4002f000)
	libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x401ca000)
	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40216000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40223000)
	libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x402f8000)
	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40300000)
	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40308000)
	libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
	libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x4031f000)
	libm.so.6 => /lib/i686/libm.so.6 (0x40362000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

What I did was to copy these files from the RH7.1 system into a
separate directory ~/fcomp on the Redhat 7.3 machine.

now I make a script that starts ferret, called ~/bin/ferret containing

#! /bin/tcsh 
source $HOME/bin/ferret_paths
setenv LD_LIBRARY_PATH $HOME/fcomp
exec $HOME/fcomp/ld-2.2.4.so /usr/local/ferret/bin/ferret $1



I have made a tar.gz file with these files and the startup
script available from 

   http://www.ii.uib.no/~avle/fcomp.tar.gz

download to ~

unpack with 

cd ~
gunzip -c -d fcomp.tar.gz | tar xvf -

copy ~/fcomp/ferret to e.g. ~/bin
and modify it to fit your ferret installation.

-- 
Helge


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement