|
From: David C. <dcc...@ac...> - 2011-11-11 15:40:53
|
On 11/11/2011 7:21 AM, Александар Миленковић wrote:
> Unfortunately, the . is necessary for some reason.
>
> Here's a more complete log.
>
> # . /valgrind --leak-check=yes testapp
> .: Can't open /valgrind
> # ./valgrind --leak-check=yes testapp
> ./valgrind: not found
> # . valgrind --leak-check=yes testapp
> /system/bin/valgrind: 1: Syntax error: word unexpected (expecting ")")
> # valgrind --leak-check=yes ./system/bin/testapp
> valgrind: not found
>
>
What happens if you run "/system/bin/valgrind --leak-check=yes
testapp"? It seems that valgrind is installed in /system/bin.
What is the search path in the shell? If the search path does not
include the directory in which valgrind is located, the shell will have
trouble finding it.
--
David Chapman dcc...@ac...
Chapman Consulting -- San Jose, CA
|