Results 1 to 2 of 2
I tried to install valgrind to my local directory (I don't have privilege to install it under root) by doing the following 3 steps:
(1) ./configure --prefix=/my/local/directory
(2) make
(3) ...
- 12-15-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 4
error installing valgrind
I tried to install valgrind to my local directory (I don't have privilege to install it under root) by doing the following 3 steps:
(1) ./configure --prefix=/my/local/directory
(2) make
(3) make install
when I run
./valgrind ls -l
as instructed by README, I got this error:
valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
can any one help me solve this problem?
- 12-16-2010 #2Just Joined!
- Join Date
- Jul 2010
- Posts
- 4
i found the solution. in case anyone encounter the same problem:
in the hidden .bash_profile, add the following:
VALGRIND_LIB="/my/local/directory/lib/valgrind"
export VALGRIND_LIB
login again, and you are good to go.


Reply With Quote