If you are using a new version of ubuntu, i think 9.04 or above, and you get the error(might work with other distros too)
Here is the work around.
libtermacp.so.2 is no longer a part of ubuntu, its obsolete and instead of that libncurses can be used. So run the following commands on your terminal
you will see a set of libncurse.so. files for eg :
/lib/libncurses.so.5
/lib/libncurses.so.5.7 etc
If you do not see such files then you will have to install libncurses, which you can do using the synaptic package manager or
(You can use yum in case you are using redhat).
once you find the libnucrses.so.5.7 file run the following command
Then retry the operation that gave you the libtermcap error, you should not see the error any more.
Hi Tux!
ReplyDeleteThanks a lot for this post! Now IRAF runs on my Ubuntu 10.04 64-bit. :)
Best regards,
Rich
Awesome. Much appreciated. Thanks for sharing.
ReplyDelete(P.S. Small typo in the locate command.)
glad it helped and thanks for the feedback :-)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi
ReplyDeleteI am getting following errors in UBUNTU12.10 please help me..
users@users-Inspiron-5520:~$ spice
spice: error while loading shared libraries: libtermcap.so.2: cannot open
shared object file: No such file or directory.
users@usres-Inspiron-5520:~$ ngspice
ngspice: error while loading shared libraries: libXaw.so.8: cannot open
shared object file: No such file or directory
Did you try the steps mentioned above?
Delete