View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Fresh IRAF install on FC10, 64-bit.

Alberto Fernandez-Soto wrote on Jan 30, 2009

G'day,

I've just finished installing IRAF V2.14 on a new machine running Fedora Core 10. It is a 64-bit machine, and I had heard before that I may run into some problems because of that, but there were solutions involving compatibility between libraries.

I have installed IRAF on several systems before, but always on 32-bit boxes. I would not qualify as expert anyway. The installation was quick and uneventful. However, after running mkiraf and trying to run cl, I got the message:


/iraf/iraf/bin.redhat/ecl.e: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory


I have spent hours searching and found that some people had similar problems either with IRAF or Scisoft. However, the solutions I could find involved installing "compatibility libraries" , other versions of "termcap", or older versions from passe repositories. All those actually applied to Debian or SUSE systems, not to FC--the ones I tried were just not doable, there were different directory structures and the like.

I also tried some "brute force" solutions like copying my /usr/lib64/libtermcap.so to /usr/lib/libtermcap.so.2 but only to obtain


/iraf/iraf/bin.redhat/ecl.e: error while loading shared libraries: libtermcap.so.2: wrong ELF class: ELFCLASS64


and, moreover, it is only a redirect to libtinfo (which is also 64-bit).

In the end, my question is:


Has anybody installed IRAF on a FC10 box with 64-bit processor and succeeded? Could you please help with that?


I bought this computer having in mind working with large amounts of large images, so the 64-bit OS is an important part of it. I wouldn't like to have to go down to a 32-bit OS because of this... :roll:

Thank you very much indeed, I will appreciate any help.

Alberto

Mike Fitzpatrick wrote on Jan 30, 2009

You can get a statically linked ecl.e from

http://iraf.net/ftp/pub/fitz/ecl.e

It is still 32-bit but should avoid the termcap compatability libs. Note there is another currently active thread about problems under 64-bit FC10, please let us know whether this fixes your CL problems and you are able to use the system.

-Mike

Alberto Fernandez-Soto wrote on Jan 30, 2009

Well, that was grand!!

Thanks a lot, Mike. I just copied that ecl.e file onto the previous one place, and at least IRAF now has started after typing cl. I will start trying things now, and will report on whatever happens--hopefully for good!.

Thanks again, also for your very quick reflexes!

Alberto

Alberto Fernandez-Soto wrote on Jan 30, 2009

G'day again,

let me add, just for the benefit of possible future readers, that I also found an issue with xgterm, which I downloaded with X11Iraf. After installation it also complained about shared libraries.

I read in the forum and found an answer in

http://iraf.net/phpBB2/viewtopic.php?p=145265

which basically is installing manually a static version, found under

http://iraf.net/ftp/pub/xgterm.LNUX.STATIC

It seems to be working beautifully for the moment being. Notice that I have not tried Ximtool (I'm a DS9 person) so I cannot evaluate that.

Cheers,

Alberto

Last post on Jan 30, 2009