Welcome to iraf.net Sunday, April 28 2024 @ 01:12 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
  Error Message running xgterm
   
pmforlife
 11/06/2018 11:58PM (Read 2080 times)  
++---
Junior

Status: offline


Registered: 02/27/2015
Posts: 17
Hi.

When I open xgterm and try to run IRAF by typing "cl" it says:

/iraf/iraf/bin.linux64/vocl.e: error while loading shared libraries: libncurses.so.5: cannot open shared object file: Error 40


I tried to solve the problem using this solution in the forum:

\$this->_split2($m[0]) Solution:
\$this->_split2($m[0]) This is a known problem with how the binary was built and RH7
\$this->_split2($m[0]) systems. The simplest solution is to just create a symlink to
\$this->_split2($m[0]) satisfy the dependency, i.e. as 'root' do
\$this->_split2($m[0])
\$this->_split2($m[0]) # cd /usr/lib
\$this->_split2($m[0]) # ln -s libncurses.so.5 libncurses.so.4


However, it did not solved the problem.

 
Profile Email
 Quote
fitz
 11/07/2018 02:53AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
For 64-bit systems you may need to create that link in the /lib64 or /usr/lib64 directory. Note the message is coming from the IRAF 'vocl.e' binary and not XGterm itself (which is a 32-bit app)

 
Profile Email
 Quote
pmforlife
 11/07/2018 01:04PM  
++---
Junior

Status: offline


Registered: 02/27/2015
Posts: 17
Quote by: fitz

For 64-bit systems you may need to create that link in the /lib64 or /usr/lib64 directory. Note the message is coming from the IRAF 'vocl.e' binary and not XGterm itself (which is a 32-bit app)



There is no a directory with "/usr/lib64" path. But there is "/lib64".
I did the same (ln -s libncurses.so.5 libncurses.so.4) in that path. Then tried again running IRAF with cl in xgterm.
The problem and error message remained the same:

/iraf/iraf/bin.linux64/vocl.e: error while loading shared libraries: libncurses.so.5: cannot open shared object file: Error 40


(I have ubuntu mate 18.10 desktop amd64)


 
Profile Email
 Quote
andrej
 01/11/2019 12:57AM  
+++--
Chatty

Status: offline


Registered: 08/21/2009
Posts: 57
Greetings, I was having a closely related problem, running Ubuntu 18.10 with AMD 64, using xterm. Installed IRAF 64-bit.

I want to offer a potential solution, as I was encountering a different issue.

Ubuntu 18.10 seems to not come with the usual libncurses files, so, to get IRAF working, try this. First install the following, in Terminal:

sudo apt-get install libncurses5-dev libncursesw5-dev

then do:

sudo ln -s /lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/libncurses.so.5


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