Welcome to iraf.net Sunday, May 12 2024 @ 09:51 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Problem in cl
   
yuanjinghua880
 07/06/2009 02:53PM (Read 3328 times)  
+----
Newbie

Status: offline


Registered: 07/06/2009
Posts: 3
Hi all,
I met a problem while I install iraf on my pc. The fallow massage is there when I type $cl in terminal .
[i:aef699b473]/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:aef699b473]
I tried $yum install ncurses ,then it said:
[i:aef699b473]ncurses-5.6-20.20080927.fc10.i386 is already installed.
nothing to do[/i:aef699b473]
Then I get a statically linked binary from https://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

 
Profile Email
 Quote
fitz
 07/06/2009 02:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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[code:1:01cfef02d5]% ldd /path/ecl.e[/code:1:01cfef02d5]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.[code:1:01cfef02d5]# ln -s /lib/libtermcap.so.4 /lib/libtermcap.so.2[/code:1:01cfef02d5]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

 
Profile Email
 Quote
yuanjinghua880
 07/06/2009 02:53PM  
+----
Newbie

Status: offline


Registered: 07/06/2009
Posts: 3
Hi Mike,
My problem has been resolved successfully . Thank you. Jing-hua

 
Profile Email
 Quote
   
Content generated in: 0.07 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login