libc shared lib problem

Forum rules
Before you post please read this

libc shared lib problem

Postby 85776 on Tue Apr 21, 2009 11:48 am

Hi,
I installed Linux XFCE 6. Then I installed some applications after that I receive this message when trying to install/remove by apt:
Code: Select all
/usr/bin/dpkg: error while loading shared libraries: libc.so&6: cannot open shared object file: No such file or directory

(strange the filename "libc.so&6"...)

I have been having trouble in general with this distro (segfaults in exaile, firefox). I starting to suspect that I have some error in my hard disk on I/O, but I ran a gparted tool to test the filesystem and all was ok. Additional question to this post? what other tool rather than test disk (I think is used by gparted) I can run to find errors in my hard drive?

Returning to the point, I couldn't fix the dpkg problem with any apt-get utility like apt-get install -f, dpkg --reconfigure -a. Always got the same error.
Code: Select all
 
ls -l /lib/libc*

-rwxr-xr-x 1 root root 1315024 2009-01-29 08:23 libc-2.8.90.so
lrwxrwxrwx 1 root root      14 2009-04-21 11:34 libc6.so -> libc-2.8.90.so
lrwxrwxrwx 1 root root      14 2009-04-16 13:58 libcap.so.1 -> libcap.so.1.10
-rw-r--r-- 1 root root   10316 2007-07-31 16:20 libcap.so.1.10
lrwxrwxrwx 1 root root      14 2009-04-16 13:58 libcap.so.2 -> libcap.so.2.10
-rw-r--r-- 1 root root   13792 2008-06-12 10:39 libcap.so.2.10
-rw-r--r-- 1 root root  185820 2009-01-29 08:23 libcidn-2.8.90.so
lrwxrwxrwx 1 root root      17 2009-04-18 21:57 libcidn.so.1 -> libcidn-2.8.90.so
lrwxrwxrwx 1 root root      17 2009-04-16 13:58 libcom_err.so.2 -> libcom_err.so.2.1
-rw-r--r-- 1 root root    9576 2008-10-13 10:09 libcom_err.so.2.1
-rw-r--r-- 1 root root   38300 2009-01-29 08:23 libcrypt-2.8.90.so
lrwxrwxrwx 1 root root      18 2009-04-18 21:57 libcrypt.so.1 -> libcrypt-2.8.90.so
lrwxrwxrwx 1 root root      14 2009-04-18 21:57 libc.so.6 -> libc-2.8.90.so



Could it be generated when turning on the ubuntu repositories or installing the meta package mint-meta-gnome?
I wait for some help/suggestions (remember I can't of any form add/remove/update software cause of the error in any call to dpkg).
Thank You, and sorry for some mistake (first post, native Spanish lang).
bye!
85776
Level 1
Level 1
 
Posts: 2
Joined: Tue Apr 21, 2009 10:51 am

Linux Mint is funded by ads and donations.
 

Re: libc shared lib problem

Postby Husse on Thu Apr 23, 2009 5:16 am

I'm not sure what has gone wrong, but it is obvious that a character too many has made its way into some file (the &)
test disk (I think is used by gparted)

Nope - the tool to check disks is fsck - and it can only be used on unmounted disks - if you start it on a mounted disk you will suffer severe data loss
There is however an excellent tool in the repositories called testdisk which might help you with your disk
I can tell you that there is very little problems with the XFCE edition
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: libc shared lib problem

Postby 85776 on Thu Apr 23, 2009 1:43 pm

Thank you!
I give this post as solved because I ran memtest86 and it was one of the 1gb module of memory that had aprox. 22 mb of memory damaged. I removed it and now I have a stable system unlike the speed.
extra:
Additionally, I tried compiling a Kernel with BadRam support but it didn't work when I passed some memory address parameter to the grub command line (kernel initialization errors) , it seems my error pattern of memory changes in each memtest, but always there is a common initial number of error start, so I got confused.

When apropiate, I will buy another memory module.
thanks
85776
Level 1
Level 1
 
Posts: 2
Joined: Tue Apr 21, 2009 10:51 am

Re: libc shared lib problem

Postby Husse on Fri Apr 24, 2009 6:11 am

Ah - when placed in memory the
/usr/bin/dpkg
ended up located in bad memory
This shows how difficult it can be to solve supposed software problems
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to XFCE

Who is online

Users browsing this forum: No registered users and 1 guest