This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Peter, All,
On Wednesday 10 June 2009 00:16:58 ng@piments.com wrote:# ldd
-sh: ldd: not found
# ls -ail `which ldd`
3273877 -r-xr-xr-x 1 root root 5583 Jun 8 2009 /usr/bin/ldd
So it's there, it's found by which, but "not found". Clearly this is just busybox's challenged error handling spewing garbage. The question is how to debug what is really happending.
This error is helpful in itself since it's not even a binary, it's a script.
Running a shell script (or any other script type) first imply running a shell, and that shell will interpret the script.
Binaries give : -sh: gnuplot: Permission denied
even though they have x permissions and are being invoked by root.
Hmmm. Sounds like a ld problem. Please run this on the target: # ls -l /lib/ld*
It should be marked with the 'x' bit.
I'm off to work, will look in more details tonight...
Regards, Yann E. MORIN.
However ldd still does not work: # ldd gnuplot -sh: ldd: not found # which ldd /usr/bin/ldd
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |