[daip] Re: XAS compilation failure

Eric Greisen egreisen at nrao.edu
Fri Sep 5 10:54:09 EDT 2003


Carlos De Breuck writes:
 > Hi Eric,
 > 
 > I'm installing AIPS at ESO Garching on a Linux box running redhat 9.
 > I've downloaded the gcc3.3 from the NRAO ftp and compiled it succesfully.
 > Now, the install.pl script (2003 Sep 5 version) fails at the "XAS.SHR
 > through UNSHR" step, because it cannot find libg2c.so.0:
 > 
 > AipsWiz:  =====> Make the XAS TV Server from source if needed...
 > AipsWiz: About to unpack the XAS.SHR archive.
 > AipsWiz: Building the UNSHR program for LINUX...
 > AipsWiz: UNSHR.LINUX built in `pwd`
 > AipsWiz: About to run XAS.SHR through UNSHR (ignore the prompt)...
 > ./UNSHR.LINUX: error while loading shared libraries: libg2c.so.0: cannot
 > open shared object file: No such file or directory
 > AipsWiz: Done.
 > AipsWiz: Error: Failed to unpack the XAS.SHR archive
 > AipsWiz: Error: This means no AIPS TV will be available.
 > AipsWiz: ==> Press <ENTER> to acknowledge:: 
 > 
 > I've sent the FORT, LINK and CCOM pointers to the gcc 3.3 installation in 
 > /export/diska/debreuck/gcc3.3/gcc-3.3/bin/
 > and it compiles the F2PS through PP.EXE without a problem.
 > The libg2c.so.0 file is in /export/diska/debreuck/gcc3.3/gcc-3.3/lib/ with
 > a symbolic link to libg2c.so.0.0.0 which seems ok:
 > 
 > bash-2.05a$ file libg2c.so.0.0.0 
 > libg2c.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1
 > (SYSV), not stripped
 > 
 > 
 > Do you have any idea what's wrong here?

I do actually having hit something like this in my private version as
well.  The libraries for your 3.3 version are some non-standard place.
Your log in file will need to set $LD_LIBRARY_PATH to include 
     /export/diska/debreuck/gcc3.3/gcc-3.3/lib/

Note that the 3.2.2. compiler works except for 2 routines which are
now automatically compiled non optimised.

Eric Greisen



More information about the Daip mailing list