I have installed valgrind with no problems but when running it I keep getting the following error:
valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': No such file or directory
I have adjusted my bash file accordingly. I added the following path: /usr/bin/valgrind
from using: which valgrind
command and it's still not working. Then I added the path:/usr/lib/valgrind
and it is still not working. I think I am confused about the correct local directory for using Ubuntu.
I am using:
export VALGRIND_LIB="/usr/lib/valgrind"
Do I have to add my local directory first?