Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load with zsh 5.8.1 #4

Open
mowgli opened this issue Feb 13, 2022 · 6 comments
Open

Failed to load with zsh 5.8.1 #4

mowgli opened this issue Feb 13, 2022 · 6 comments

Comments

@mowgli
Copy link

mowgli commented Feb 13, 2022

After update to zsh 5.8.1, I get the following error:

/home/klaus/.zsh/zshrc/10_zshplugin:26: failed to load module `zdharma_continuum/zinit': /home/klaus/.zinit/module/Src/zdharma_continuum/zinit.so: undefined symbol: bshin
@Aloxaf
Copy link
Contributor

Aloxaf commented Feb 14, 2022

A simple fix is available here: Aloxaf@ee6b59e, but I am not sure how to make a full PR because it will introduce breaking changes.

@Aloxaf
Copy link
Contributor

Aloxaf commented Feb 14, 2022

I have the following ideas:

  1. Create a patch and apply it when zsh version is-at-least 5.8.1. See Aloxaf@f7c4c27, this is a very simple solution.
  2. Create different branch for each zsh version which has breaking changes. In this case, we can also update the whole code base to 5.8.1 so that we can have the best compatibility.

@3v1n0
Copy link

3v1n0 commented Feb 16, 2022

Should probably also use a versioned name at this point, so that can be easy to share the home when it's used by different zsh versions (for example you use your home folder / dotfiles in multiple distros)

@mindbound
Copy link

mindbound commented Apr 5, 2022

After applying @Aloxaf's patch, I'm getting the following error on load:

(eval):ZinitModule_:1: can't write zwc file: /proc/self/fd/14.zwc

Using zsh 5.8.1 on Arch Linux. Please advise.

@mojolo
Copy link

mojolo commented Aug 19, 2022

How would one apply this patch?

It seems that the Aloxaf fixed branches (fix_zsh_5.8.1 AND zsh_5.8.1_patch) are a commit behind the main zdharma-continuum/zinit-module. Specifically, the Aloxaf mod-install.sh refers to zdharma-continuum/zinit module but needs to be updated to zdharma-continuum/zinit-module.

@jimeh
Copy link

jimeh commented Feb 19, 2024

Any progress with this? I'm having the same error on Fedora 39 with ZSH 5.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants