Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh: failed to load module `zsh/zle': No such file or directory
- X-seq: zsh-users 23939
- From: kamaraju kusumanchi <raju.mailinglists@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: zsh: failed to load module `zsh/zle': No such file or directory
- Date: Fri, 26 Apr 2019 01:13:12 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FSIJspE9cjNlGKihvXLHd5NBM6ebn3MM3BB1vAQqa44=; b=Ygu70XH8Ta/4VO6aijMtGMEokMHDOYG3NT5v7s5TiyMc/nNOaXL6P48+nGy7G1vMEl la/EnCCI91NQTXgZMuLClUKuT1NHCxLK7gQvlbQwuWElBN3n2a0Bs1+L/0jG5cojxsIH OjpVjQjWdQF5a9VhDRE1IIu7iVycW6HHL61DPPpKAQfxU5dna6GzMLmV6yWRB9FY2Y31 s3GE31Ll7n6RvjUqbz47RzPtKRJe9dHcU/x+pFAh8f/mz01t4GiDnRKGquZqN3R4ub81 ThhW1ZqDDve/HH4jAv7ooOT+BPec0japLWnr1lwLmHBPPiDCudcKyCoO6HUvLePQ6nKc Q3HQ==
- In-reply-to: <1556183658.19158.11.camel@samsung.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20190425032220epcas3p4438d12067543a5985dca967cb3a9521d@epcas3p4.samsung.com> <CABpbYafHstWQ3dWbJnnYkr9S_3XjqRmu+_6L11niKWkBtYfikw@mail.gmail.com> <1556183658.19158.11.camel@samsung.com>
On Thu, Apr 25, 2019 at 5:15 AM Peter Stephenson
<p.stephenson@xxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author