LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-21-2006, 10:54 AM   #1
agustingp7
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
libpopt.so.0: cannot read file data


Hello:
My distro: Suse 10

The problem:

linux:/home/agustin # rpm -q
rpm: error while loading shared libraries: /usr/lib/libpopt.so.0: cannot read file data: Invalid argument

linux:/home/agustin # yast2
/usr/lib/YaST2/plugin/libpy2qt.so.2: error while loading shared libraries: /usr/lib/libpopt.so.0: cannot read file data: Invalid argument
Command: /sbin/yast2 sw_single &
/usr/lib/YaST2/plugin/libpy2qt.so.2: error while loading shared libraries: /usr/lib/libpopt.so.0: cannot read file data: Invalid argument
Error loading language plugin /usr/lib/YaST2/plugin/libpy2lang_perl.so: /usr/lib/libpopt.so.0: cannot read file data: Invalid argument
No such client module sw_single


So, I can't reinstall the "popt" package.
I've tried different things without success.
Any Advice?
Thanks, Agustín.

PD: some more information:

agustin@linux:/usr/lib> ls -l libpopt.so.1.0.0
?--------T 61489 135997456 100991208 3360874676 1970-05-08 16:02 libpopt.so.1.0.0

linux:/usr/lib # lsattr libpopt.so.1.0.0
lsattr: Inappropriate ioctl for device While reading flags on libpopt.so.1.0.0

Last edited by agustingp7; 11-21-2006 at 04:36 PM.
 
Old 11-22-2006, 04:11 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try doing the following,
Code:
#chown root:root /usr/lib/libpopt.so.1.0.0
#chmod 755 /usr/lib/libpopt.so.1.0.0
I am not sure whether that will resolve your problems, but from the output, it seems like libpopt* has no rwx perms to anyone and the user and group ownership is not really clear.
 
Old 11-22-2006, 07:27 AM   #3
agustingp7
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
Try doing the following,
Code:
#chown root:root /usr/lib/libpopt.so.1.0.0
#chmod 755 /usr/lib/libpopt.so.1.0.0
I am not sure whether that will resolve your problems, but from the output, it seems like libpopt* has no rwx perms to anyone and the user and group ownership is not really clear.
Thanks for your interest.
I did it without results.
I've solved the problem with the following steps:
1.- I checked the root partition whit e2fsck from SystemrescueCD. A lot of things had to be fixed.
2.- I reenter Suse 10 and I found that the libraries libpopt,so,0.0.0 andd .1.0.0 had desappered.
3.- With the Kanotix LiveCD I copied libpopt.so.0.0.0 in Suse /usr/lib.
4.- Reboot and bingo.
5.- With Yast, I've reinstalled the package popt.1.7-221.
Thanks again.
Agustin.
 
  


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
Program Crash Data, core.5169 file, how do I read it GlennsPref Linux - Software 11 10-31-2006 01:04 AM
How to read data from file to use in shell script? ozymandias Linux - Newbie 7 10-27-2006 01:19 PM
libpopt.so.0 - What is it, and where can I get it from? mikemrh9 Linux - Software 6 10-08-2004 01:56 PM
Burn Data DVD... Read Data in Linux and Windows SaintStrive Linux - Newbie 3 09-18-2004 05:04 PM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration