LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2003, 12:31 AM   #1
Fang
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Slackware 9.1 error /lib/libncurses.so.5


I am a newbie to linux and i just installed zipslack 9.1 on my computer. When it boots up it says something about /lib/libcurses.so.5 and then goes to the login. I login as root, but then when i try to execute programs like 'xfree86setup' and 'pppsetup' (i haven't tried any others) it gives me an error message error while loading shared libraries: /lib/libcurses.so.5 : file too short and it won't run it. I want to run x and everything else, so what should i do to fix this and what causes it? Any help will be appreciated! Thanks.
 
Old 12-13-2003, 11:50 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Either ncurses wasn't installed or is corrupt. Try installing the latest package. You can grab it from ftp.kpn.be
 
Old 12-13-2003, 04:12 PM   #3
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Some programs like the one that is called when you say 'make menuconfig' in order to configure your own kernel need ncurses-devel. I haven't found this anywhere as a single package and re-installing the ncurses package didn't help when I had this same problem a few months ago. I re-installed Slackware as a whole. There is certainly a better way but I didn't know it then. Anyway. the problem went away.
 
Old 12-13-2003, 05:31 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Try this after download the latest package of ncurses:

ls -al /var/log/packages/* | grep ncurses*

If it lists ncurses first remove the package like this:

removepkg /var/log/packages/ncurses*

This will remove the package and now if you grabbed the tgz from the ftp site I mentioned above, simply do this, after moving the package to /var/log/packages

installpkg ncurses.x.x-i486-0 (note you will want to put in the actual version numbers you downloaded, etc)

This should fix the problem the majority of the time. If that doesn't work, let us know as a whole reinstall is always the last option when dealing with Linux.
 
Old 12-13-2003, 06:34 PM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Yes, I agree.
It's normally what you would do when you encounter a "Class B" problem in this strange other system. But at least, it's easy to categorize problems there:

Class A: Reboot!
Class B: Re-install!

But in the concrete situation I had already tried a number of things, and not found an adequate solution. So I went for a new install, which was quickly done as it is a tiny system.

Thanks for your hints!

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
9.0 slackware lib problem dogbird Programming 3 11-09-2005 07:49 PM
Kismet and libncurses ikkuh1991 Linux - Software 4 09-07-2005 05:02 AM
/lib/libthread_db.so.1 crashes at shutdown or reboot on Slackware 10.1 with Qt 3.3.4 Basel Slackware 13 07-15-2005 03:03 AM
help with libncurses. levicc00123 Debian 6 09-11-2004 05:19 PM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:15 AM.

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