From: kamaraju kusumanchi <raju.mailinglists@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: zsh: failed to load module `zsh/zle': No such file or directory
Date: Fri, 26 Apr 2019 01:13:12 -0400 [thread overview]
Message-ID: <CABpbYafGjd49HDAPb1bu4XoNkkFEYW2bTz_qotq4G_nxut2LvQ@mail.gmail.com> (raw)
In-Reply-To: <1556183658.19158.11.camel@samsung.com>
On Thu, Apr 25, 2019 at 5:15 AM Peter Stephenson
<p.stephenson@samsung.com> wrote:
>
> 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.
>
Thanks. Setting the MODULE_PATH fixed the error. Also, I had to set
the FPATH variable so that zsh can find the function definitions. For
posterity, here is my ~/.zshenv
export MODULE_PATH=$HOME/opt/software/zsh/usr/lib/zsh/5.7.1:$MODULE_PATH
FPATH=$HOME/opt/software/zsh/usr/share/zsh/functions/Completion:$FPATH
Note that I am not exporting FPATH as suggested in
https://unix.stackexchange.com/a/33898/198064
thanks
raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
prev parent reply other threads:[~2019-04-26 5:14 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
2019-04-26 5:13 ` kamaraju kusumanchi [this message]
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=CABpbYafGjd49HDAPb1bu4XoNkkFEYW2bTz_qotq4G_nxut2LvQ@mail.gmail.com \
--to=raju.mailinglists@gmail.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).