valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': No such file or directory
这是没有配置lib环境变量的缘故。注意要把lib配置放到path配置前面。导出VALGRIND_LIB路径,用法如下(假设valgrind已经被安装到/home/test/valgrind目录):exportVALGRIND_LIB=/home/test/valgrind/lib/valgrind或者也可以如下方式调用valgrind:VALGRIND_LIB=/home/test/valgrin