Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Portable rootless ZSH
- X-seq: zsh-workers 44827
- From: Coden <codenb@xxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Portable rootless ZSH
- Date: Sat, 12 Oct 2019 21:22:39 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570915364; bh=Qx/TgzSYOmoNLxXKlCXXbKHVjGEADxQJyDTN2dPjlEg=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=ax1JZqTvRPtamstoM/KNzq7Umne9cRMpR+YETxid/pgTsG9MWhAtrH0WMU4GEUysx 3SFn8G8splWRpbPRx9YMXinWI79IZ+2/CvQ4RakIqUlHvmEP58O775uGMZ74GDykqt q8X4cROth+GQcjMNCRMGvKIbO5nM6BjwMVrJZ7as=
- Feedback-id: 1g_EZM5cadEHcIg82x2qZXWXT-U_XXBlI7kN837NwaZpram7G2oom_E1e2DIYhFQFmC50rpRJhWFHjVSm_Y7-w==:Ext:ProtonMail
- In-reply-to: <FG_5iNx0DPNq-a1zqxGntg3hmpbHyJ_zHKFQZKw-LyXw5ee11rRK_98EM8usgD307Kld2pofl-KsvmWOeMBiQ37j_fwRxcA0oZbNM_6NZ2U=@protonmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <X8SiYN2toMZ5PPVZksUCEHWuP_LQiWjl_7pgD9MKXK3U7uS1TRvB1SjBAiZChh_o1t-wZg_wZI-OsnJ_GAKbf_VSFaZ7DrIySgPQbd9kYp0=@protonmail.com> <20191008204722.GU6761@ming.fruitbat.org> <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlM=@protonmail.com> <-1Pz0W4MKe73f-nCkejafEE_SNaTME3zWtRpz26zC_wtj9KNc0hpsLeZA60x2YG1GSs5D7RW10p5kfmsy5HRFiXl3oHHx3wt2NHVKUGfX_0=@protonmail.com> <FG_5iNx0DPNq-a1zqxGntg3hmpbHyJ_zHKFQZKw-LyXw5ee11rRK_98EM8usgD307Kld2pofl-KsvmWOeMBiQ37j_fwRxcA0oZbNM_6NZ2U=@protonmail.com>
- Reply-to: Coden <codenb@xxxxxxxxxxxxxx>
> ./zsh: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./zsh)
The solution is to build zsh on older version of packages (in Ubuntu 14 for example).
Thanks to all! It seems I built what I need.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, October 11, 2019 10:32 PM, Coden <codenb@xxxxxxxxxxxxxx> wrote:
> 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've got success:
>
> 1. Build ./configure --disable-dynamic --disable-gdbm && make
> 2. export FPATH="/home/user/.autojump/functions:/home/user/.oh-my-zsh/plugins/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/share/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 where ZSH has never been installed I've got the error:
>
> $ export FPATH="..."
> $ ./zsh
> ./zsh: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./zsh)
>
> Coden
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
>
> > > From: Peter Stephenson p.stephenson@xxxxxxxxxxx
> > > On Wed, 2019-10-09 at 20:07 +0000, Coden wrote:
> > >
> > > > /root/.oh-my-zsh/oh-my-zsh.sh:69: compinit: function definition file not found
> > > > /root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author