zsh-workers
 help / color / mirror / code / Atom feed
* pcre module problem
@ 2014-05-18 12:46 jdhenman
  2014-05-18 17:28 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: jdhenman @ 2014-05-18 12:46 UTC (permalink / raw)
  To: zsh-workers


I just installed 14.04 and buils zsh  5.0.5 (..i686.linux-gnu).

I set zsh as my logon shell using chsh -s /bin/zsh (after putting /bin/zsh in /etc/shells

When I start up a console window  zsh is started up but I am getting a pcre related error.

"failed to load module "zsh/pcre": /lib/zsh/5.0.5/zsh/pcre.so: ... No such file or directory"


Any ideas why and how to fix this.

Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: pcre module problem
  2014-05-18 12:46 pcre module problem jdhenman
@ 2014-05-18 17:28 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2014-05-18 17:28 UTC (permalink / raw)
  To: jdhenman; +Cc: zsh-workers

On Sun, 18 May 2014 21:46:53 +0900
jdhenman@gmail.com wrote:
> I just installed 14.04 and buils zsh  5.0.5 (..i686.linux-gnu).
> 
> I set zsh as my logon shell using chsh -s /bin/zsh (after putting
> /bin/zsh in /etc/shells
> 
> When I start up a console window zsh is started up but I am getting a
> pcre related error.
> 
> "failed to load module "zsh/pcre": /lib/zsh/5.0.5/zsh/pcre.so: ... No
> such file or directory"

Just to check the obvious... presumably there are *some* files in
the directory /lib/zsh/5.0.5/zsh ?  Otherwise the shell didn't get
installed properly.

Does that file exist?  If not, your zsh built without pcre --- that's
perfectly OK since it's a non-standard feature most people don't need,
but something in one of your start up files needs it.  It could be a
"zmodload zsh/pcre". or it might be an autoload causing pcre to be
loaded when it sees an expression like "[[ ... =~ ... ]]"

If it does exist, what does

ldd /lib/zsh/5.0.5/zsh/pcre.so

say?

pws


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-18 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-18 12:46 pcre module problem jdhenman
2014-05-18 17:28 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).