Showing posts with label valgrind. Show all posts
Showing posts with label valgrind. Show all posts

Monday, July 18, 2011

valgrind: failed to start tool memcheck for platform amd64-linux: No such file or directory

valgrind was not able to find memcheck.

Solution: Put in VALGRIND_LIB the parent directory of amd64-linux directory.
E.g.:

export VALGRIND_LIB=/u/gallinar/downloaded/valgrind-3.2.3/.in_place

Example run

/u/engineering/locals/linux/bin/valgrind --leak-check=yes --show-reachable=yes --num-callers=16 --quiet $OMNI_HOME/bin/MonControl -filetype pcap -enable C7_L3MTP 2>&1 | tee MonControl.log