valgrind: failed to start tool 'memcheck' for platform 'amd64-linux'
配置路径如下:
./configuer --prefix=/usr/local/valgrind/
然后到/usr/local/valgrind/bin目录下执行valgrind命令都一直报memcheck错误;
最后的解决方法:
./autogen.sh :报错的话,yum 安装 automake
./configuer --prefix=/usr/local/valgrind/
make;
make install
设置环境变量: 此处使用libexec,而不是lib,解决
vim ~/.bashrc:
VALGRIND_LIB=/usr/local/valgrind/libexec/valgrind