Selon michael <[email protected]>: > On Tue, 17 Feb 2009, Pedro Aguilar wrote: > > After loading the initramfs, I have some external commands (not part of > > busybox) that I want to execute, but I'm getting the following error: > > > > # /usr/bin/my_command > > sh: /usr/bin/my_command: not found > > > > I'm sure the commands are inside the initramfs :) > > > > Do you have any idea of what it is causing this behaviour? > > Am I missing something? > > One possibility which has bitten me: is it possible that some of the > libraries needed by my_command are missing? That seems to be the loader's > friendly way of saying "some random important file not found"!
Possibily. I think I had that once. Check the dependencies with readelf -d <path-of-my-command> | grep NEEDED Check too if the file is executable. Gilles _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
