bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file..?


From: Chet Ramey
Subject: Re: No such file..?
Date: Fri, 5 May 2017 09:00:42 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.0.1

On 5/4/17 11:57 PM, Peter Passchier wrote:
> I downloaded a Solaris binary and I was wondering whether I could get it
> to execute with the --version commandline argument (it worked for an
> arm7 binary before). But that's not what concerns me.
> 
> $ /home/pp/bin/caddy --version
> -bash: /home/pp/bin/caddy: No such file or directory
> 
> $ file /home/pp/bin/caddy
> /home/pp/bin/caddy: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked, interpreter /lib/amd64/ld.so.1, not stripped
> 
> $ ls -AFl /home/pp/bin/caddy
> -rwxr-xr-x 1 pp pp 16229894 2017-05-05 10:30 /home/pp/bin/caddy*
> 
> I would think that is a strange response...

It's whatever the kernel sends back in errno.  It probably means that
/lib/amd64/ld.so.1 doesn't exist.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]