zsh-users
 help / color / mirror / code / Atom feed
From: Danh Doan <congdanhqx@gmail.com>
To: zsh-users@zsh.org,Ray Andrews <rayandrews@eastlink.ca>,Zsh Users
	<zsh-users@zsh.org>
Subject: Re: executable not found
Date: Sun, 06 Oct 2019 19:10:38 +0000	[thread overview]
Message-ID: <BB3FFA6F-78DC-448A-AB89-A3833FF7407C@gmail.com> (raw)
In-Reply-To: <0b8de286-a6c8-e9b4-9fba-5c1cd92960a2@eastlink.ca>

On October 6, 2019 7:04:22 PM UTC, Ray Andrews <rayandrews@eastlink.ca> wrote:
>     I was trying to fire up an old backup of an executable I wrote:  
>'ls' shows the current version and the backup:
>
>...
>-rwxr-xr-x 1 30152 2016-12-17/12:18:46 movemouse,1*
>-rwxr-xr-x 1 10544 2016-12-17/12:57:53 movemouse*
>...
>
>     However zsh doesn't want to run it tho both are executable:
>
>$ movemouse,1
>zsh: command not found: movemouse,1
>
>     Current directory is on my path:
>
>PATH=".:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
>
>     So current directory should be searched.  I can't figure out why 
>zsh isn't finding it.  The recent version 'movemouse' is found fine.  
>Copying 'movemouse,1' to another name somewhere else on the path made
>no 
>difference.  But there is this:
>
>movemouse,1:
>CONTENT: EXECUTABLE BINARY application/x-executable; charset=binary:
>
>movemouse:
>CONTENT: EXECUTABLE LIBRARY application/x-sharedlib; charset=binary:
>
>     Is that the issue?  Can anything obvious be done?  Do I need to 
>rebuild 'movemouse,1'?  Yet zsh should find it anyway, no?
>
>     Trying:
>
>$exec ./movemouse,1
>
>     crashed the terminal as did:
>
>$exec ./movemouse

I think that executable's interpreter couldn't be found.

In case of native executable (i.e not a script), its linked libc couldn't be found. Please check with `ldd'
-- 
Danh

  reply	other threads:[~2019-10-06 19:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 19:04 Ray Andrews
2019-10-06 19:10 ` Danh Doan [this message]
2019-10-06 19:15   ` Roman Perepelitsa
2019-10-06 20:10     ` Ray Andrews
2019-10-06 19:22   ` Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BB3FFA6F-78DC-448A-AB89-A3833FF7407C@gmail.com \
    --to=congdanhqx@gmail.com \
    --cc=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).