View previous topic :: View next topic |
Author |
Message |
mast3rmind n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Aug 2004 Posts: 49
|
Posted: Tue Aug 10, 2004 6:28 pm Post subject: HELP! /lib/libpthread.so.0 invalid elf header |
|
|
I can use "ls" anymore every time i try to use ls i get
Code: |
ls: error while loading shared libraries /lib/libpthread.so.0: invalid elf header
|
So non of my scripts can run at boot, and i can view any files.
Some one please help me threw this problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Steven Robertson Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1351853924411ac7b08c381.png)
Joined: 26 Mar 2003 Posts: 140 Location: Tampa, FL
|
Posted: Tue Aug 10, 2004 7:28 pm Post subject: |
|
|
You, my friend, are quite thoroughly screwed. Your system is basically trashed, until you can restore the file.
But there's hope! If you can, using the LiveCD, send me the details of your CHOST, CFLAGS, and glibc version, I can build you a binary package of glibc. Just untar it (again, using the livecd) in your hard drive's root, and you _should_ get your system usable again. Immediately remerge glibc from sources afterwards.
PM me if that would help.
Steve |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mast3rmind n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Aug 2004 Posts: 49
|
Posted: Tue Aug 10, 2004 11:09 pm Post subject: |
|
|
how could have happend the system was just installed this morning?
I using kernel 2.6.7 and i recompiled it earlier today to get pegasus usb support and after that it was fine, then later i get this . . . |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Steven Robertson Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1351853924411ac7b08c381.png)
Joined: 26 Mar 2003 Posts: 140 Location: Tampa, FL
|
Posted: Wed Aug 11, 2004 12:56 am Post subject: |
|
|
Either filesystem corruption, or an incomplete/improper merge caused by too aggressive CFLAGS or a damaged GCC, or possibly even memory corruption.
To test for filesystem corruption, find the MD5sum of several CDs or other large files on a different disc, copy them over to your hard drive, and see if the MD5sums match. To test for memory corruption, use the mentest86plus tool available at http://www.memtest.org/. Overly aggressive CFLAGS should be obvious, and a damaged GCC will be shown by it being unable to compile itself (meaning you can't emerge gcc); you'd have to pull a binary package if that's the case.
Try the memory. I got burned bad with bad RAM once. If you do find it to be bad, check out a kernel with the new badram patch floating around. (I use Nitro-Sources, and it incorporates the patch.) That will enable you to have a perfectly stable system, despite any bad sections of your RAM. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mast3rmind n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Aug 2004 Posts: 49
|
Posted: Wed Aug 11, 2004 2:15 am Post subject: |
|
|
this machine doesnt have a cdrom drive because it's a sony picturebook c1x (sony didnt sell them with pcmcia cdroms) but i managed to come up with a way to install linux over the windows 98 (that came stock on it) I installed mandrake linux 8.2 3 months ago using a usb cdrom and the mandrake 8.2 usb boot floppy, mandrake seemed to run fine and all, despite the fact some things where slow (it was big n slow mandrake! ) and X ran fine, but yesterday i decide to install gentoo, so from in side the mandrake installation, i using mutilple xterm windows, i use an empty partion for gentoo and use the stage2 tarball. after the install it ran fine, so i deleted the mandrake partions and made a larger partion for gentoo's /usr and i then ran "cp -a /usr/* /usr2" and in a ssh session, logged into the laptop, i ran "ls /usr2" and thats when i got this error.
I don't think it's bad memory, and the CFLAGS where the default settings, the only thing i think it could be is filesystem corruption. since me usb ethernet device is down i can d/l any files.
btw:
My cflags and chost set by the catalyst build script are
Code: |
CFLAGS="-02 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Steven Robertson Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1351853924411ac7b08c381.png)
Joined: 26 Mar 2003 Posts: 140 Location: Tampa, FL
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|