LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2005, 10:17 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Exclamation Cannot open libncurses


This isn't a problem that affects me immediately but it looks significant so I'll see if I can get it taken care of.

Code:
> info
info: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
I've used info in the past without any problems, so this is something recent. The only major thing I've done recently that could affect anything is delete the contents of /usr/local/src, relying on the fact that checkinstall's packages contain everything I need to run the appropriate programs.

Code:
> locate libncurses
/lib/libncurses.so.5
/lib/libncurses.so.5.3
/usr/lib/libncurses++.a
/usr/lib/libncurses_g.a
/usr/lib/libncurses_p.a
/usr/lib/libncurses.so
/usr/lib/libncurses.a
Thanks in advance.
 
Old 07-25-2005, 10:27 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Looks like your system got an updated version of ncurses (.5) without an upgrade to info. See if you can upgrade info.
 
Old 07-25-2005, 11:24 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Wasn't quite the problem but led me to what was. I believe I removed info previously when trying to get TeX to work (since info is called "texinfo" not just "info" it seems). Running /usr/bin/info works fine, but "info" itself returns the error.

Code:
> which info
/usr/TeX/bin/i386-linux/info
It's picking that one first (I don't even know what it is or why it doesn't work) because that directory is set before $PATH in my .bashrc. I don't remember why it had to go before, but when I was playing around trying to get TeX to work I figured out I needed that to go first otherwise it would run the wrong thing. What's the best solution here? I'd move my PATH around but that would break TeX and I don't remember enough about the installation process to fix it. I'd rename that info file that's being run but I assume it's required by TeX for something, so that's not good. If the info that's being run is the same as the real system "texinfo" then I'd upgrade that so it's using the right libraries, but I don't know how to do that either. Any suggestions? What are these two info programs anyway, and why are they tied in to TeX?

--EDIT--
Just to clarify, I accidentally removed Slackware's texinfo package when removing/reinstalling things to get TeX to work since it started with tex and I assumed it was related. I've now downloaded and installed the most recent Slackpkg of texinfo so /usr/bin/info is in place and working (other than the problem described above).

Last edited by jrdioko; 07-25-2005 at 11:28 PM.
 
Old 07-25-2005, 11:28 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
They may use TeX for formatting behind the scenes, I'm not sure. Why not just move the tex path behind /usr/local/bin? If that breaks tex, you can just switch it back. Keep a copy of the old line commented out just in case.
 
Old 07-26-2005, 07:13 PM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
I'll do that for now, I don't really use TeX much anyway. Thanks again.
 
Old 07-26-2005, 08:20 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It shouldn't break tex, unless tex has used some bad file names.
 
  


Reply



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
kismet and libncurses ikkuh1991 SUSE / openSUSE 2 09-11-2005 09:16 AM
Kismet and libncurses ikkuh1991 Linux - Software 4 09-07-2005 05:02 AM
help with libncurses. levicc00123 Debian 6 09-11-2004 05:19 PM
xf86cfg needs libncurses.so.4, I have version 5. levicc00123 Debian 2 08-10-2004 01:13 PM
vim on zaurus with open zaurus libncurses problem Brain Drop Linux - Laptop and Netbook 2 02-25-2004 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration