*** 8.2-RELEASE/src/sbin/ldconfig/ldconfig.8 Tue Dec 21 18:09:25 2010 --- new-generic/src/sbin/ldconfig/ldconfig.8 Mon Jun 17 14:51:26 2013 *************** *** 96,101 **** --- 96,115 ---- .Fl L switch of .Xr ld 1 . + .sp + The LD_LIBRARY_PATH is not just for command + .Xr ldconfig 1 + but is also used by other commands too, eg mv, so if + `file /bin/mv` shows "dynamically linked (uses shared libs)" + and then you run `mv /lib /lib.WAS ; mv other things` then although + the 2nd mv will fail with "Shared object "libc.so.7" not found, + required by "mv"", then you can still rescue yourself with (example + for csh): "setenv LD_LIBRARY_PATH /lib.WAS ; mv /lib.WAS /lib". + .sp + However, this will not Save you if you do "mv /libexec /libexec.WAS; + mv /libexec.NEW /libexec", when the second mv will fail with "ELF + interpreter /libexec/ld-elf.so.1 not found", then you need: + "/rescue/mv /libexec.WAS /libexec". .Pp The .Nm