LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-15-2010, 11:44 AM   #1
karatelambda
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
error installing valgrind: failed to start tool 'memcheck'...


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?
 
Old 12-16-2010, 10:42 AM   #2
karatelambda
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error: Failed to start the X server rallykalle02 Linux - General 3 08-21-2010 06:30 AM
[SOLVED] how to use valgrind tool over a exe which is started with start_daemon sri_csy Linux - Newbie 4 07-29-2010 09:49 AM
valgrind crashes at start up with "Killed" error message lasindi Slackware 0 04-22-2006 08:54 PM
Getting an error: Failed to start the X server Fasn8n Linux - General 5 02-09-2006 09:05 AM
Failed to start apache error help SSBN Linux - Networking 2 04-30-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration