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

Unable to install zsh-pcre #47

Open
dave-kennedy opened this issue Oct 31, 2022 · 1 comment
Open

Unable to install zsh-pcre #47

dave-kennedy opened this issue Oct 31, 2022 · 1 comment

Comments

@dave-kennedy
Copy link

I'm not sure if this is the right place to ask, but I'm getting this error when I try to load a script with things like [[ $var =~ pattern ]]:

failed to load module `zsh/pcre': Error loading shared library /usr/lib/zsh/5.8.1/zsh/pcre.so: No such file or directory
-pcre-match not available for regex

I tried installing pcre, pcre2, reinstalling zsh, but the error persists. I believe I need to install zsh-pcre but for some reason this package isn't available:

% sudo apk add zsh-pcre
ERROR: unable to select packages:
  zsh-pcre (no such package):
    required by: world[zsh-pcre]

Is there something different about Alpine WSL that prevents installing packages from the main Alpine package repo?

@jirutka
Copy link

jirutka commented Oct 31, 2022

That’s weird. Moreover, zsh-pcre should be installed automatically if you install pcre.

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

2 participants