"Chris Caudle" <chris(a)chriscaudle.org>
writes:
How do you make sure the one in
usr is not used?
Putting /usr/local/bin first in PATH ?
The PATH environment variable only controls where you search for
executables, not shared libraries.
Notice in the ld man page that executables can have a search path in the
ELF header. The executables DT_RUNPATH value comes before the
LD_LIBRARY_PATH environment variable in the search order.
Seems like there are several ways that loading the newly compiled version
could go wrong if the older files are still present.
--
Chris Caudle