No delete required, it will correct the soname conventions.
man ldconfig
should give the details.
Hmm...
-v verbose (sounds nice)
-n only process directories on the command line
-N don't rebuild the cache
-f conf use conf instead of /etc/ld.so.conf
-r root change to and use root as the root directory
All sound like likely members of a command to manually fix those links.
There may be more info in the man page.
Be sure to always use "-N" so you don't trash your system cache.
|