zsh-workers
 help / color / mirror / code / Atom feed
* Problem with recent cvs zsh
@ 2007-08-27  0:08 ` Mikael Magnusson
  2007-08-27 21:16   ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Magnusson @ 2007-08-27  0:08 UTC (permalink / raw)
  To: zsh-workers

Hi,
When using zsh from cvs i get the following errors upon startup (and
some more like them)

/home/mikaelh/.zshrc:135: failed to load module `zsh/mathfunc':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/mathfunc.so: undefined symbol:
errflag
/home/mikaelh/.zshrc:136: failed to load module `zsh/zle':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
nullstrsetfn
/home/mikaelh/.zshrc:137: failed to load module `zsh/zle':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
nullstrsetfn
/home/mikaelh/.zshrc:138: failed to load module `zsh/zle':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
nullstrsetfn
/home/mikaelh/.zshrc:139: failed to load module `zsh/datetime':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/datetime.so: undefined symbol:
stdunsetfn
/home/mikaelh/.zshrc:140: failed to load module `zsh/pcre':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/pcre.so: undefined symbol: opts
/home/mikaelh/.zshrc:147: failed to load module `zsh/zle':
/usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
nullstrsetfn

They go away if I ./configure --disable-dynamic and everything works
as expected. This has happened for some time now, not sure since when.

-- 
Mikael Magnusson


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

* Re: Problem with recent cvs zsh
  2007-08-27  0:08 ` Problem with recent cvs zsh Mikael Magnusson
@ 2007-08-27 21:16   ` Peter Stephenson
  2007-08-28  2:30     ` Mikael Magnusson
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2007-08-27 21:16 UTC (permalink / raw)
  To: zsh-workers

"Mikael Magnusson" wrote:
> Hi,
> When using zsh from cvs i get the following errors upon startup (and
> some more like them)
> 
> /home/mikaelh/.zshrc:135: failed to load module `zsh/mathfunc':
> /usr/local/lib/zsh/4.3.4-dev-1/zsh/mathfunc.so: undefined symbol:
> errflag
> /home/mikaelh/.zshrc:136: failed to load module `zsh/zle':
> /usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
> nullstrsetfn

No idea what this could be, since these symbols, at least, are marked
for export.  For some reason it looks like the main shell isn't being
linked in or doesn't have all the symbols in.  Could there by any change
in shared library configuration?  In particular has something changed
with the setting of zsh_cv_sys_dynamic_execsysms when you run configure
(it should be in config.log)?  Does it still happen if you recompile
from scratch?  What does "nm =zsh | grep errflag" show (where =zsh
refers to the newly installed zsh)?  If it's persistent, you probably
need to track down which change it came in with.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


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

* Re: Problem with recent cvs zsh
  2007-08-27 21:16   ` Peter Stephenson
@ 2007-08-28  2:30     ` Mikael Magnusson
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael Magnusson @ 2007-08-28  2:30 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: zsh-workers

On 27/08/07, Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> "Mikael Magnusson" wrote:
> > Hi,
> > When using zsh from cvs i get the following errors upon startup (and
> > some more like them)
> >
> > /home/mikaelh/.zshrc:135: failed to load module `zsh/mathfunc':
> > /usr/local/lib/zsh/4.3.4-dev-1/zsh/mathfunc.so: undefined symbol:
> > errflag
> > /home/mikaelh/.zshrc:136: failed to load module `zsh/zle':
> > /usr/local/lib/zsh/4.3.4-dev-1/zsh/zle.so: undefined symbol:
> > nullstrsetfn
>
> No idea what this could be, since these symbols, at least, are marked
> for export.  For some reason it looks like the main shell isn't being
> linked in or doesn't have all the symbols in.  Could there by any change
> in shared library configuration?  In particular has something changed
> with the setting of zsh_cv_sys_dynamic_execsysms when you run configure
> (it should be in config.log)?  Does it still happen if you recompile
> from scratch?  What does "nm =zsh | grep errflag" show (where =zsh
> refers to the newly installed zsh)?  If it's persistent, you probably
> need to track down which change it came in with.

Hrm, as it turned out I just had to remove my config.cache, I'm sorry
I forgot that's one of the things to check.

-- 
Mikael Magnusson


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

end of thread, other threads:[~2007-08-28  2:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mikachu@gmail.com>
2007-08-27  0:08 ` Problem with recent cvs zsh Mikael Magnusson
2007-08-27 21:16   ` Peter Stephenson
2007-08-28  2:30     ` Mikael Magnusson

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