Quote:
Originally Posted by geek1234
Hi,
In my ubuntu gutsy machine, I deleted libpthread.so and 2-3 more related files from /usr/lib by mistake. Now when I am trying to install some other software, I get errors saying 'must have pthreads'. So somehow I have messed up pthreads. How can I fix this?
I searched a bit and found out that libthread may be provided by libc6. Is this correct? If yes, how can I get pthreads up again? Removing libc6 with apt-get removes a whole lot of other packages which is scary, so I did not do it. But how can I fix it without removing libc6 and installing it again?
Thanks
|
You can find out what files a package provides with synaptic. Click on libc6 to highlight it. Then click on properties at the top of the screen and click on Installed files. On my Debian system the resulting screen shows that /lib/libpthread-0.10.so is provided by package libc6.
You can probably get libpthread back by using the --reinstall option. Something like:
apt-get --reinstall install libc6
------------------------
Steve Stites