I am running Debian 7.1. I tried to apt-get install -f, and messed up. All command line returns

ln: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference

It seems some soft links are broken, but I do not know how to resolve it.


This looks like you broke files from the glibc package, resulting in nothing wanting to start anymore. Unfortunately, that's extremely difficult to fix from the running system. The easiest way to fix it is usually to install the storage (SD card, hard disk, ...) in a different system, and recreate the links there.

Alternatively, you can boot from a rescue or installation medium and recreate the links from a shell on that system.


If you have the sash shell installed, it should run just fine - it is a fully staticlly linked shell, and it has an internal ln command available (accessible as -ln). Other possibility is busybox-static. Though the best bet seems to boot from a live medium (might be nontrivial on ARM!) and install the correct libc6 package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.