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]

Re: how to get target ldd ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]