ts-7000
[Top] [All Lists]

[ts-7000] Re: file exists but is "not found"

To:
Subject: [ts-7000] Re: file exists but is "not found"
From: "naturalwatt" <>
Date: Fri, 05 Jun 2009 19:39:13 -0000
--- In  "j.chitte" <> wrote:
>
> Hi,
> 
> I'm debugging a fresh eabi built system booting over nfs and logging in via 
> minicom. One file that I call as part of my init process reports an error of 
> not being found , yet it is there and executable.
> 
> 
> # ls -ail /www/apache/cgi-bin/adc_logger
> 3254116 -rwxr-xr-x    1 root     root       126447 Apr  5  2008 
> /www/apache/cgi-bin/adc_logger
> 
> # /www/apache/cgi-bin/adc_logger
> -sh: /www/apache/cgi-bin/adc_logger: not found
> 
> viewed on the nfs host:
> /www/apache/cgi-bin/adc_logger: ELF 32-bit LSB executable, ARM, version 1, 
> dynamically linked (uses shared libs), for GNU/Linux 2.2.0, not stripped
> 
> 
> Is this really "not found" or is it just busybox truncated error reporting 
> giving me a false error? Perhaps a lib or something else not found.
> 
> Thx.
>

I suspect it is busybox being not helpful.   Either the dynamic linker 
/lib/ld-linux.so is missing or damaged or a shared library is missing, most 
likely. I can't remember the name of the tool that tells you what shared 
libraries are needed for an executable, and I don't think it's part of Busybox 
anyhow.

Can you rebuild adc_logger with -static and try that as a first step?

I am also a bit worried that file(1) says it is for GNU/Linux 2.2.0.  The 
executables I build (for a 2.4.26 system) says for GNU/Linux 2.4.3, which is 
nothing like the version disparity between your 2.6 kernel and a 2.2 ELF format.

Martin



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU