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 bd26009c for ; Fri, 11 Oct 2019 19:33:26 +0000 (UTC) Received: (qmail 12320 invoked by alias); 11 Oct 2019 19:33:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44825 Received: (qmail 15184 invoked by uid 1010); 11 Oct 2019 19:33:17 -0000 X-Qmail-Scanner-Diagnostics: from mail-40136.protonmail.ch by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25598. spamassassin: 3.4.2. Clear:RC:0(185.70.40.136):SA:0(-2.7/5.0):. Processed in 4.03864 secs); 11 Oct 2019 19:33:17 -0000 X-Envelope-From: codenb@protonmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.protonmail.ch designates 185.70.40.136 as permitted sender) Date: Fri, 11 Oct 2019 19:32:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570822356; bh=PjR8qsqY+cemX5KTr1rfDwAdc+lZ9aWAasiUcW0Uo7U=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=tywDhqHYOysPQsWWv4a3LDobo1pXCXa/sm5xtYH/POEOgNfw1z2x/8U484RBaevSk fYUEreRlhzX7B77/XSBX1cRFOQTbXSlpCH5u1wlEjFtRpZvbi06lt6HKPBE8qQCrAG gmgvlRrnPUyy3eSI0+o1oG2V9Qxwzb1/7qv3Ljv4= To: "zsh-workers@zsh.org" From: Coden Reply-To: Coden Subject: Re: Portable rootless ZSH Message-ID: In-Reply-To: <-1Pz0W4MKe73f-nCkejafEE_SNaTME3zWtRpz26zC_wtj9KNc0hpsLeZA60x2YG1GSs5D7RW10p5kfmsy5HRFiXl3oHHx3wt2NHVKUGfX_0=@protonmail.com> References: <20191008204722.GU6761@ming.fruitbat.org> <-1Pz0W4MKe73f-nCkejafEE_SNaTME3zWtRpz26zC_wtj9KNc0hpsLeZA60x2YG1GSs5D7RW10p5kfmsy5HRFiXl3oHHx3wt2NHVKUGfX_0=@protonmail.com> Feedback-ID: 1g_EZM5cadEHcIg82x2qZXWXT-U_XXBlI7kN837NwaZpram7G2oom_E1e2DIYhFQFmC50rpRJhWFHjVSm_Y7-w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Peter! > The directories are given by fpath (array) and FPATH Thank you for link to FPATH! It is one step forward for me. But I've faced = with error. When I try to rebuild and run zsh on the server where zsh was installed I'v= e got success: 1. Build ./configure --disable-dynamic --disable-gdbm && make 2. export FPATH=3D"/home/user/.autojump/functions:/home/user/.oh-my-zsh/plu= gins/git:/home/user/.oh-my-zsh/functions:/home/user/.oh-my-zsh/completions:= /usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/sh= are/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh= /functions/Chpwd:/usr/share/zsh/functions/Completion: ......" 3. Run ./Src/zsh 4. It works as expected with OMZ theme! But when I copy ./Src/zsh with all FPATH directories to another server wher= e ZSH has never been installed I've got the error: $ export FPATH=3D"..." $ ./zsh ./zsh: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (req= uired by ./zsh) Coden =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 >> From: Peter Stephenson >>On Wed, 2019-10-09 at 20:07 +0000, Coden wrote: >>> /root/.oh-my-zsh/oh-my-zsh.sh:69: compinit: function definition file no= t found >>> /root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function defin= ition file not found >>OK, so assuming the static linking is all set up (it's certainly doable >>but not necessarily trivial as it's not all that common these days), >>you're now faced with making shell functions available. These can live >>anywhere --- nothing here needs to be set up as root --- but obviously >>you need to put them somewhere, and then tell the shell where you've put >>them. The directories are given by fpath (array) and FPATH >>(collon-separated values for putting into the environment). You can >>look at the existing values for an idea of where everything is on the >>system you're starting from. Probably you'll be configuring the >>directories in ~/.zshenv in the target system. >>pws