zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: <zsh-users@zsh.org>
Subject: Re: zsh: failed to load module `zsh/zle': No such file or directory
Date: Thu, 25 Apr 2019 10:14:18 +0100	[thread overview]
Message-ID: <1556183658.19158.11.camel@samsung.com> (raw)
In-Reply-To: <CABpbYafHstWQ3dWbJnnYkr9S_3XjqRmu+_6L11niKWkBtYfikw@mail.gmail.com>

On Wed, 2019-04-24 at 23:19 -0400, kamaraju kusumanchi wrote:
> I am trying to install zsh into a non standard directory in "git for
> windows" on a machine running windows 10 but running into problems.
> When launching zsh, I am getting
> 
> zsh: failed to load module `zsh/zle': No such file or directory
> 
> Is there a way to fix this? FWIW I am using "git for windows"
> 2.21.0.windows.1 . 

Presumably you have a pre-compiled version of zsh?  The variable that
determines where shared libraries are found is MODULE_PATH
(colon-separated) or module_path (array).  You need to set
this to include the location where zsh/zle.so was installed.  For
example it's probably got a value like /usr/local/lib/zsh/5.7.1 and
in that case the shell looks for /usr/local/lib/zsh/5.7.1/zsh/zle.so.

It should be OK to set that in ~/.zshenv --- assuming the shell knows
where your home directory is.

pws


  reply	other threads:[~2019-04-25  9:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20190425032220epcas3p4438d12067543a5985dca967cb3a9521d@epcas3p4.samsung.com>
2019-04-25  3:19 ` kamaraju kusumanchi
2019-04-25  9:14   ` Peter Stephenson [this message]
2019-04-26  5:13     ` kamaraju kusumanchi

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=1556183658.19158.11.camel@samsung.com \
    --to=p.stephenson@samsung.com \
    --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).