ubuntu服务版测试valgrind 出现如下错误打印
valgrind: Fatal error at startup: a function redirection
valgrind: which is mandatory for this platform-tool combination
valgrind: cannot be set up. Details of the redirection are:
是因为libc或ld.so库进行过strip操作。直接安装一个debug版本的库就可以了。
sudo apt-get install libc6-dbg
参考博客 https://blog.youkuaiyun.com/fantasy666666/article/details/5351998