Problem in cl
yuanjinghua880 wrote on Jul 06, 2009
Hi all,
I met a problem while I install iraf on my pc. The fallow massage is there when I type $cl in terminal .
/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 tried $yum install ncurses ,then it said:
ncurses-5.6-20.20080927.fc10.i386 is already installed.
nothing to do
Then I get a statically linked binary from http://iraf.net/ftp/pub/fitz/ecl.e and cope it to /iraf/irafbin/bin.redhat. I tried $cl again , it failed too.
Now I really need your help.
Thank you.
Jing-hua YUAN
I met a problem while I install iraf on my pc. The fallow massage is there when I type $cl in terminal .
/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 tried $yum install ncurses ,then it said:
ncurses-5.6-20.20080927.fc10.i386 is already installed.
nothing to do
Then I get a statically linked binary from http://iraf.net/ftp/pub/fitz/ecl.e and cope it to /iraf/irafbin/bin.redhat. I tried $cl again , it failed too.
Now I really need your help.
Thank you.
Jing-hua YUAN
Mike Fitzpatrick wrote on Jul 06, 2009
If you have ncurses already installed the binary may have failed because of a version difference, e.g. you have v5 but the binary was linked against v4. In most cases you can create a symlink to the existing binary to satisfy the reference. For instance, run the command
This will print the required shared libraries and the libtermcap.so.2 will probably say 'not found'. This should exist in the /lib directory and if there is a newer version there then (as root) you can make the link with e.g.
The static binary *should* work anyway, but could fail if the execute permissions weren't set after download (i.e. what is the error message?) or if it was placed in the wrong directory.
-Mike
% ldd /path/ecl.eThis will print the required shared libraries and the libtermcap.so.2 will probably say 'not found'. This should exist in the /lib directory and if there is a newer version there then (as root) you can make the link with e.g.
# ln -s /lib/libtermcap.so.4 /lib/libtermcap.so.2The static binary *should* work anyway, but could fail if the execute permissions weren't set after download (i.e. what is the error message?) or if it was placed in the wrong directory.
-Mike
yuanjinghua880 wrote on Jul 06, 2009
Hi Mike,
My problem has been resolved successfully . Thank you.
Jing-hua
My problem has been resolved successfully . Thank you.
Jing-hua
Last post on Jul 06, 2009