Welcome to iraf.net Thursday, May 09 2024 @ 11:50 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 x86.64 iraf
   
yuniraf
 10/29/2006 11:53PM (Read 15305 times)  
+----
Newbie

Status: offline


Registered: 10/25/2006
Posts: 5
I am running iraf on linux on the 64-bit x86 (AMD64) platform. Everything seems to work fine, except when I try to use "fc" to compile a IRAF/Fortran program.
It gives a large number of warnings all like:/usr/bin/ld: warning: i386 architecture of input file `/iraf/iraf/unix/bin.redhat/libcompat.a(C_name.o)' is incompatible with i386Angry86-64 outputI get basically one line like this one for every library in /iraf/iraf/unix/bin.redhat/
Then it creates a binary but it does not run. That is, it runs but returns the prompt without doing anything.Is there full support for this platform? What should I do?Thanks!

 
Profile Email
 Quote
fitz
 10/29/2006 11:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Compilation is not supported on 64-bit systems however the 32-bit binaries are known to work. What this means is that you'll need to compile your programs on a 32-bit system and move them over when done. Full support for 64-bit systems is on the list of projects but is a fairly big effort due to the amount of testing required even beyond the basic port.-Mike

 
Profile Email
 Quote
labiano
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 11/02/2006
Posts: 4
Hi,I am running IRAF also on a 64-bit pc. I installed it from the ESO/Scisoft distribution.I am trying to run xcsao (in the rvsao package) and get the following error:
error while loading shared libraries: libg2c.so.0: wrong ELF class: ELFCLASS64Anyone knows a way around this?Thnak you very much!
Alvaro

 
Profile Email
 Quote
fitz
 10/29/2006 11:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The error means the binary is trying to load the libg2c shared library and finding only a 64-bit version. There may be some sort of "32-bit compatability" package you can install on your machine to workaround this, otherwise you're best bet is to find a statically linked binary for the package. I may be able to build one later today if you don't have any luck.-Mike

 
Profile Email
 Quote
labiano
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 11/02/2006
Posts: 4
Hi Mike,Thank you for your answer.I have not found a"32-bit compatibility program". So I copied a 32-bit library ifrom another PC in my /usr/lib directory and the problem seems to dissappear.Now I get :
IRAF rvsao.xcsao 2.3.2 labiano@localhost.localdomain 02-Nov-2006 17:03
ERROR: segmentation violationbut I am not sure if the problem still comes from the libraries or from my data.Anyway, if you find time to build the library, please let me know.Thank you very much once again!
Alvaro

 
Profile Email
 Quote
fitz
 10/29/2006 11:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I put a statically linked linux binary at https://iraf.net/pub/fitz/x_rvsao.e-LINUX_STATICThis was built from the latest RVSAO 2.5.3 sources from ftp://cfa-fta.harvard.edu/pub/iraf/rvsao-2.5.3.tar.gz. Just download the file and rename it 'x_rvsao.e' and put it in your package bin directory. If you still get the segvio then you should contact the package author (Doug Mink reads this site occassionally and may notice this message). Hope it helps.Cheers,
-Mike

 
Profile Email
 Quote
labiano
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 11/02/2006
Posts: 4
Hi,
I cannot access the link for the library.404 Not Found
The requested URL /pub/fitz/x_rvsao.e-LINUX_STATIC does not exist.
Site Still Under Construction
Thanks!
Alvaro

 
Profile Email
 Quote
fitz
 10/29/2006 11:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Sorry, should be fixed now.......

 
Profile Email
 Quote
yuniraf
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 10/25/2006
Posts: 5
Thanks for the information. It works...
All we need is to use a 32-bit machine with the same architecture.

 
Profile Email
 Quote
labiano
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 11/02/2006
Posts: 4
I still get the segvio. I will contact the rvsao designer and see how can I fix it. Anyway, I found an older computer where it seems to work.Thanks for all your help!
Alvaro

 
Profile Email
 Quote
yara
 10/29/2006 11:53PM  
+----
Newbie

Status: offline


Registered: 06/17/2011
Posts: 1
Hi, I found this thread by searching from iraf problems with libg2c and although is not quite the problem I'm getting I thought I should post it here anyway.So my problem is I'm trying to run xcsao in my laptop (32 bit kernel) and I'm getting this: /scisoft/share/iraf/extern/rvsao/bin.redhat/x_rvsao.e: error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directoryI believe this problem arose after I upgraded my Ubuntu 10.04. Any ideas on how to solve it?
Some IT people have tried to help me and failed and I'm a bit desperate!Thanks a lotyara

 
Profile Email
 Quote
fitz
 10/29/2006 11:53PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I rebuilt the static binary at https://iraf.net/pub/fitz/x_rvsao.e-LINUX_STATIC from the latest RVSAO 2.7.8 sources so I'd suggest you download this and install it in the RVSAO bin.redhat directory. The linux scisoft distribution may also be a little old for your OS and you'll see similar problems with other binaries, chances are good that simply relinking the package on your machine will use the newer libs on your machine and likewise solve the problem.

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