--- 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/
|