PDA

View Full Version : ldconfig dissaperaed


wickermonkey
01-19-2010, 06:12 PM
My ldconfig seems to have dissapeared after installing a lib package, not sure which one but could have been libc6. anyway does anybody know how i can getthis reinstalled?

thanks

wickermonkey
01-20-2010, 04:16 AM
seeing as tough nobody seemd to have a soloution does anybody know were a more apprpriate place to ask?

mece
01-20-2010, 04:37 AM
ldconfig should be in libc6. Perhaps the deb you installed is borken?

I have libc6 2.5.1-1eglibc20+0m and /sbin/ldconfig is there.

wickermonkey
01-20-2010, 01:06 PM
cheers mece for your reply. The main problem i have now is i cannot install a .deb with dpkg due to not having the ldconfig. i have tried apt-get but it just says that it was unable to find the file. Do you know of any repositories that i can add to be able to do apt-get install? The only other way to fix it again is to reflash but thats just a pain in the preverbial and in a way the easy way out, would like to learn how to fix it with out just throwing the master reset button.

patator
01-21-2010, 06:04 AM
You download the deb manually, then
dpkg -x /path/to/debfile /directory/where/to/extract
like
dpkg -x package /tmp
NOT / !!
and then move the files you need

that's the usual way with broken libc updates

if dpkg does not work you can use
/usr/bin/ar:
cd /tmp
ar x debfile

wickermonkey
01-22-2010, 05:58 PM
not that fluent with using the terminal so you might have to explain ina bit more detail, tried dpkg -x package.deb /tmp from the directory with the deb file and with the tmp folder created but nothing.

got very confused with the next bit though