Asmo Koskinen:
Well, it didn't:
asmok@ubuntu:~$ LD_LIBRARY_PATH=/usr/local/lib
asmok@ubuntu:~$ LD_LIBRARY_PATH=/usr/local/bin
asmok@ubuntu:~$ /usr/local/bin/jackdmp
/usr/local/bin/jackdmp: error while loading shared libraries:
libjackdmp.so: cannot open shared object file: No such file or directory
asmok@ubuntu:~$
You need to set the environment variable, not the shell variable.
If you use bash:
export LD_LIBRARY_PATH=/usr/local/lib
If you use csh (I think):
setenv LD_LIBRARY_PATH /usr/local/lib