Find the answer to your Linux question:
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) ...
  1. #1
    Just 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?

  2. #2
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...