Welcome to iraf.net Friday, March 29 2024 @ 07:31 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 2.15 and fedora
   
syang
 11/30/2010 06:15AM (Read 6426 times)  
+----
Newbie

Status: offline


Registered: 11/29/2010
Posts: 5
Hello, I've a bit of problem getting v2.15 to work on fedora 13 (32-bit).
Using the linux arch since there is no longer bin.redhat, ecl.e won't
start.

Using ldd:on v2.15:
ldd /iraf/iraf/bin.linux/ecl.e
linux-gate.so.1 => (0x0065e000)
libtermcap.so.2 => not found
libm.so.6 => /lib/libm.so.6 (0x004d8000)
libc.so.6 => /lib/libc.so.6 (0x0034a000)
/lib/ld-linux.so.2 (0x00328000)yet on v2.14.1:
bin.redhat]$ ldd ecl.e
linux-gate.so.1 => (0x00175000)
libncurses.so.5 => /lib/libncurses.so.5 (0x04224000)
libm.so.6 => /lib/libm.so.6 (0x004d8000)
libc.so.6 => /lib/libc.so.6 (0x00176000)
libdl.so.2 => /lib/libdl.so.2 (0x00504000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x0337e000)
/lib/ld-linux.so.2 (0x00328000) Any suggestion will be great.Stephenson

 
Profile Email
 Quote
syang
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 11/29/2010
Posts: 5
BTW, making a link to libtermcap.so or libncurses.so for libtermcap.so.2 in
/usr/lib still won't solve the problem: cl
/iraf/iraf/bin.linux/ecl.e: error while loading shared libraries: /usr/lib/libtermcap.so.2: file too shortStephenson
ps sorry for posting these wrongly under applications instead of systems

 
Profile Email
 Quote
syang
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 11/29/2010
Posts: 5
looks like making a link in /lib : " ln -s libncurses.so.5.7 libtermcap.so.2" works.
Thank you

 
Profile Email
 Quote
jscotti
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 04/28/2006
Posts: 7
I had the same problem with Fedora 14 and running
"ln -s libncurses.so.5.7 libtermcap.so.2" in /lib fixed the problem for me as well.Jim.

 
Profile Email
 Quote
syang
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 11/29/2010
Posts: 5
I also found "ln -s bin.linux bin.redhat" in /iraf/iraf allows unix/hlib/install to run.

 
Profile Email
 Quote
fitz
 11/30/2010 06:15AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I don't understand this last command, there is already a iraf$bin.redhat symlink pointing to bin.linux.The proiblem with building a static binary for ECL is that the readline library used (which required ncurses/termcap) makes other system calls that newer GCC versions say can only be used in a dynamic binary. If you ignore the compilation warnings, a static binary can be built, but I haven't tested whether it actually works.

 
Profile Email
 Quote
makhlaghi
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 08/09/2010
Posts: 6
Hi everyone, I am new to IRAF and Fedora, I just succeeded in installing IRAF and running the MKIRAF, but when running the "cl" command the same error comes up:
[code:1:e334e4a00b]/iraf/iraf/bin.linux64/ecl.e: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory[/code:1:e334e4a00b]
Even though I made the symbolic link
[code:1:e334e4a00b]ln -s libncurses.so.5.7 libtermcap.so.2[/code:1:e334e4a00b]
in /lib as superuser.
here is how it looks:
[code:1:e334e4a00b]$ls -l libtermcap.so.2
lrwxrwxrwx. 1 root root 17 Dec 6 11:04 libtermcap.so.2 -> libncurses.so.5.7[/code:1:e334e4a00b]
But I am still getting that same error.
I have Fedora 14 (64bit) and I am trying to run IRAF 2.15.
It would be great if some one can guide me!

 
Profile Email
 Quote
fitz
 11/30/2010 06:15AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I've put new binaries of the ECL inftp://iraf.noao.edu/iraf/v215/supportfor each platform that was linked against the '-lncurses' library instead of the older '-ltermcap' lib that should hopefully fix this problem. There are still issues with building a static version of the binary, however if you want one a 32-bit linux static binary is available athttps://iraf.net/pub/fitz/ecl.eIf you still have problems with shared libs in the above binaries please post back.

 
Profile Email
 Quote
makhlaghi
 11/30/2010 06:15AM  
+----
Newbie

Status: offline


Registered: 08/09/2010
Posts: 6
Thank you very much, I renamed the ecl.e.linux64 in the link to ecl.e and replaced it with the existing one in $iraf/bin.linux64/. As you had instructed, I then replaced the install script, made it executable and run the install again and [b:885afa602f]it worked[/b:885afa602f]. I was struggling with it for the last few days, it was so nice to see it work.I am totally new to IRAF and I look forward to making the most of it. Thank you again,

 
Profile Email
 Quote
   
Content generated in: 0.30 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