[daip] Re: one last thing

Eric Greisen egreisen at nrao.edu
Mon Sep 19 15:17:39 EDT 2005


sdt4 at njit.edu writes:
 > Hello,
 > 
 > I was hoping you could help me with one last (hopefully) thing. I am, by the
 > way, writing up how to make AIPS work with Fedora Core 4 just in case anyone
 > needs it in the future, or if you'd like to archive it somewhere. 
 > 
 > AIPS installed great. I referenced the LOGIN.SH file as in the instructions.
 > When I went to run aips, however, it told me
 > 
 >  Starting up 31DEC05 AIPS with normal priority
 > /home/aips/31DEC05/LINUX/LOAD/ZSTRTA.EXE: error while loading shared libraries:
 > libg2c.so.0: cannot open shared object file: No such file or directory
 > [aips at dhcp92-199 ~]$ XASERVERS: Start TV LOCK daemon TVSERV on localhost
 > XASERVERS: Start XAS on localhost, DISPLAY :0
 > XAS: ** TrueColor FOUND!!!
 > XAS: ***  Using shared memory option for speed ***
 > XAS: Using screen width height 1270 924, max grey level 255
 > XASERVERS: Start graphics server TEKSRV on localhost, DISPLAY :0
 > ./TVSERV.EXE: error while loading shared libraries: libg2c.so.0: cannot open
 > shared object file: No such file or directory
 > STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED
 > TPMON1: error while loading shared libraries: libg2c.so.0: cannot open shared
 > object file: No such file or directory
 > 
 > 
 > 
 > Now, I went in and checked the $LD_LIBRARY_PATH variable. It wasn;t defined
 > anymore. So I set it again to 
 > 
 > setenv LD_LIBRARY_PATH /usr/local/lib:/usr/lib
 > 
 > as in the previoud email. I then went back to running aips but keep geting the
 > same thing. I've tried several combinations of the path, the the /usr/local/lib
 > directory has the right file. I tried to open up the exe files listed int the
 > error message but can't tell which variable they call. 
 > 

Try 

cd $LOAD
ldd AIPS.EXE

see what it shows.  Mine shows

primate<330>$ ldd AIPS.EXE
  libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40034000)
  libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40060000)
  libg2c.so.0 => /usr/local/compilers/9/gcc_3.4.4/lib/libg2c.so.0 (0x4009f000)
  libm.so.6 => /lib/tls/libm.so.6 (0x400bd000)
  libgcc_s.so.1 => /usr/local/compilers/9/gcc_3.4.4/lib/libgcc_s.so.1 (0x400df000)
  libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


The file $SYSUNIX/AIPSEXEC actually starts ZSTRTA - you could try
putting an 

echo $LD_LIBRARY_PATH

in it to see that the path is set properly.

I would be interested in your summary of problems with Fedora Core 4 -
I think we have had other users install aips on that system.

Eric Greisen




More information about the Daip mailing list