valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
or
$ ~/valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes ./json-test
valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': No such file or directory
Solution
This occurs when you have built locally with "make" but without "make install"
The solution is to export VALGRIND_LIB to the full path of the .in_place folder :
$ export VALGRIND_LIB=/home/flemieux/valgrind/.in_place
Recent Comments