LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-06-2010, 08:51 PM   #1
astroboy2000ir
LQ Newbie
 
Registered: Jul 2010
Location: Japan
Posts: 13

Rep: Reputation: 0
error while loading shared libraries: libtermcap.so.2: cannot open shared object file


Hi every one, I am new to Linux, I have just understood the very basics of the command line and the file system, but I am still having practical problems: Here is the biggest so far:

I just installed IRAF (An Astronomical Image editing sofware) and even though it prompted me with "Successfully installed", when I want to run the application it gives me this error:

Code:
/iraf/iraf/bin.linux64/ecl.e: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory
Looking around in the internet I saw some users had proposed a symbolic link to libncurses.so.5.7 since it seems ncurses has replaced termcap. But even though I made this link:

Code:
$ls -l libtermcap.so.2 
lrwxrwxrwx. 1 root root 17 Dec  6 11:04 libtermcap.so.2 -> libncurses.so.5.7
I still get the same error.
I made the same symbolic link, named libtermcap.so.2 in both my /usr/lib/ and /lib/ directories to the /lib/libncurses.so.5.7 since some users had mentioned /usr/lib/ and some /lib/.

Does any one know how I can fix this issue?

Thanks a lot

I am running Fedora 14 (64bit) on my system and this version of IRAF 2.15 is made for 64bit systems.
 
Old 12-07-2010, 12:15 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Hi,

I guess that you need the symlinks in /lib64 and /usr/lib64 since you're running a 64bit OS and trying to run a 64bit application. Dont forget to run ldconfig afterwards.
Also installing the ncurses-devel package might help

Regards
 
Old 12-07-2010, 02:32 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,676

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
I tried with a symlink libtermcap.so.2 to libtermcap.so in Fedora 13 - 64.
No luck. ( Error : file too short.)

Installing libtermcap 2.08 :
# yum remove ncurses-devel
# rpm -Uvh lib64termcap2-2.0.8-49mdv2010.1.x86_64.rpm

http://distrib-coffee.ipsl.jussieu.f...0.1.x86_64.rpm

Then no more libtermcap.so.2 issues with IRAF, it seems.

..
 
Old 12-07-2010, 11:16 PM   #4
astroboy2000ir
LQ Newbie
 
Registered: Jul 2010
Location: Japan
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks a lot for both replies, I also posted this problem in the iraf.net forum (I wasn't the only one!) and there, the site manager was able to change the original install and ecl.e files which completely fixed the issue...

Thank again...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-22-2013 11:06 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 12:05 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 05:59 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration