Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Portable rootless ZSH



> ./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