Welcome to iraf.net Friday, April 26 2024 @ 04:48 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 operating system upgrade
   
duvall
 02/23/2016 07:41AM (Read 1569 times)  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
We upgraded our Linux systems to SUSE Linux Enterprise Server 12 (SLES 12 SP1) and I'm having a little trouble. Our system guys have said that if we have our own code, we should recompile it. My iraf is a personal copy. I'm using 64-bit iraf. When I try to execute cl, I get:

/home/duvall/iraf/bin.linux64/vocl.e: symbol lookup error: /lib64/libncurses.so.5: undefined symbol: _nc_outch_sp

And when I try to execute xgterm:

/home/duvall/bin/cl_w: line 1: /home/duvall/.iraf/bin/xgterm: No such file or directory

(but it is there)

Do I need to download a new version or recompile?
Thanks.
Tom


 
Profile Email
 Quote
fitz
 02/23/2016 05:41PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

/home/duvall/iraf/bin.linux64/vocl.e: symbol lookup error: /lib64/libncurses.so.5: undefined symbol: _nc_outch_sp


This error is just starting to appear in Google and looks to be an issue in the ncurses library itself, that symbol isn't explicitly referenced in IRAF from what I can tell. It's possible this could be resolved using /lib64/libncurses.so.6 but you may need to have that installed first. If you do have a /lib64/libncurses.so.6 on your machine you can test whether it fixes the problem by doing something like:

PHP Formatted Code

   % cp /lib64/libncurses.so.6 ~/.iraf                   # make a copy of the library
   % setenv LD_LIBRARY_PATH   /home/duvall/.iraf:$LD_LIBRARY_PATH    # put it at the head of the dynamic lib path
   % ldd ~/iraf/bin.linux64/vocl.e                   # verify the .so.6 version is being used
 


and then start the CL. Unfortunately it is no longer possible to build the CL as a completely static binary on most systems. If you want to try relinking the binary on your system to resolve the problem, then try:

PHP Formatted Code

   % setenv iraf /home/duvall/iraf/           # trailing '/' req'd
   % setenv IRAFARCH linux64                       # set environment
   % source $iraf/unix/hlib/irafuser.csh    #
   % cd $iraf l make linux64                     # reconfigure architecture
   % cd pkg/vocl ; mkpkg                         # go to VOCL directory and relink
 


Then try executing the 'vocl.e' binary created. If that works do a "mkpkg update" to install the binary, it should be necessary to relink the rest of the system but I can tell you how to do that as well.


And when I try to execute xgterm:

/home/duvall/bin/cl_w: line 1: /home/duvall/.iraf/bin/xgterm: No such file or directory


The X11IRAF tools are still 32-bit binaries so it is likely that the binary won't run because you need to install the 32-bit compatibility libraries and ELF binary support. We don't use SuSE so I can't say specifically which files you'll need to install. the sysadmins should be able to help and keep in mind you'll need 32-bit X11 libraries as well.

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