Ubuntu下使用valgrind所遇问题
一、Valgrind的安装 a、直接使用sudo apt-get install valgrind b、valgrind官网下载 http://valgrind.org/ #解压 sudo tar xvf valgrind-3.8.1.tar.bz2 -C /home/worspace/ #安装 ./configure make sudo make install 运行: $valgrind ls -l 出现以下问题: ==18092== Memcheck, a memory error detector ==18092== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==18092== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==18092== Command: ls -l ==18092== valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of