From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 75ec3e62 for ; Fri, 26 Apr 2019 05:14:43 +0000 (UTC) Received: (qmail 29813 invoked by alias); 26 Apr 2019 05:14:26 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23939 Received: (qmail 4729 invoked by uid 1010); 26 Apr 2019 05:14:26 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f51.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.1/25426. spamassassin: 3.4.2. Clear:RC:0(209.85.167.51):SA:0(-2.0/5.0):. Processed in 4.169029 secs); 26 Apr 2019 05:14:26 -0000 X-Envelope-From: raju.mailinglists@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.51 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FSIJspE9cjNlGKihvXLHd5NBM6ebn3MM3BB1vAQqa44=; b=jRKVECeKWobeha585jgC6CaDbKOmnOGpETkHu1v3QxCac8T+M9xadf0UXW8G+MxswM qCT0PHcKYx71mvxkdiQwR7Cria9U9WXxRPJVTo2Gi42+6hTB5Nt5H4ARtaewW/o79uLj Zwt+vsL83sql8PXbx59vF1wqnanYi5VqIdUUiLfvZ5g8OaVDapNVBLCerFWSuKDQ44TY 06lpD5lVci2BXyw//sDJyWgD7MGyGZijix7DzTlFMAQ0w7rtJxMzCYOFt5RgwFfwqgFa T51zkZE4vFp/n8dudiSdGcaQ8gHT1pg98QOS493SkmrFCMhbFMqjM9NcvURYyQkfiIYp Yo1g== X-Gm-Message-State: APjAAAVGrv34Eg+ab/upNPK+ulW+GtePLPcwx2WNsYu4sbDu3gGHgqTA HjbTGsb1bColkUfpJsU7odsyOXM/ivlH9ybixZeZSARm X-Google-Smtp-Source: APXvYqxy8a3cpb83Iju+OHXa9XtDGYp8hG7Gm67z0SjkTtjslhvFjHkHvSixlqIS5d+bgTKdP2FtqV1LppwFja31s0k= X-Received: by 2002:a19:381c:: with SMTP id f28mr24775031lfa.132.1556255626477; Thu, 25 Apr 2019 22:13:46 -0700 (PDT) MIME-Version: 1.0 References: <1556183658.19158.11.camel@samsung.com> In-Reply-To: <1556183658.19158.11.camel@samsung.com> From: kamaraju kusumanchi Date: Fri, 26 Apr 2019 01:13:12 -0400 Message-ID: Subject: Re: zsh: failed to load module `zsh/zle': No such file or directory To: Zsh Users Content-Type: text/plain; charset="UTF-8" On Thu, Apr 25, 2019 at 5:15 AM Peter Stephenson 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