how to get target ldd ?
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Jun 10 06:01:00 GMT 2009
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.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list