changing the positions doesn't help either. if I patch valide to print the environment, it prints out two LD_LIBRARY_PATHs, one after another:
LD_LIBRARY_PATH=:/usr/local/lib LD_LIBRARY_PATH=./_install_/lib
so the second one is the right, and should be used - it is overwriting the original one. But it has no effect.
changing the positions doesn't help either.
if I patch valide to print the environment, it prints out two LD_LIBRARY_PATHs, one after another:
LD_LIBRARY_ PATH=:/ usr/local/ lib PATH=./ _install_ /lib
LD_LIBRARY_
so the second one is the right, and should be used - it is overwriting the original one. But it has no effect.