Re: Problem with absolute binary name



Harry wrote:
On Feb 10, 2:29 pm, Harry <geharipras...@xxxxxxxxx> wrote:
On Feb 9, 1:43 pm, Rajkumar M <rajkuma...@xxxxxxxxx> wrote:

#Run gettys
ttyS1::respawn:-/bin/sh
Shouldn't this be
S1::respawn:-/bin/sh
#Test respawn
::off:/flash2/hello_world.sh
Instead of "off" did you try with "respawn" and '/flash2/bin' ?
Sorry that was a mistake while pasting my /etc/inittab contents here.
It is actually 'respawn' and not 'off' there. Yes i have tried it with
only 'respawn' but it didn't work.

Another information is that in the 'hello_world.sh' script, before
invoking the 'hello_world' executable,I had added echo $PATH and echo
$LD_LIBRARY_PATH
and found that $PATH is correct and there was no output for
LD_LIBRARY_PATH. I think this could be the reason for 'hello_world'
being not found.

But it's not sure why LD_LIBRARY_PATH is not having any value.

If the LD_LIBRARY_PATH was the problem the error message would be different (something about not be able to find a shared library, if your hello world needs one), not "hello_world: not found"
.