zsh-workers
 help / color / mirror / code / Atom feed
* dynamic loading on SunOS 4.
@ 1999-07-10 11:26 Tanaka Akira
  1999-07-16 12:07 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Tanaka Akira @ 1999-07-10 11:26 UTC (permalink / raw)
  To: zsh-workers

I found a dynamic loading problem as following on SunOS 4.

Z:akr@is27e1s02% zsh -f
is27e1s02% echo $ZSH_VERSION 
3.1.5-pws-25
is27e1s02% echo $OSTYPE 
sunos4.1.4
is27e1s02% zmodload complist
ld.so: Undefined symbol: _minfo
zsh: exit 127   zsh -f
Z:akr@is27e1s02% 

I suspect that a shared object cannot refer other shared object's
symbols on SunOS 4.
-- 
Tanaka Akira


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

* Re: dynamic loading on SunOS 4.
  1999-07-10 11:26 dynamic loading on SunOS 4 Tanaka Akira
@ 1999-07-16 12:07 ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 1999-07-16 12:07 UTC (permalink / raw)
  To: zsh-workers

Tanaka Akira wrote:
> I found a dynamic loading problem as following on SunOS 4.
> is27e1s02% zmodload complist
> ld.so: Undefined symbol: _minfo
> 
> I suspect that a shared object cannot refer other shared object's
> symbols on SunOS 4.

I've been slow replying to this, partly because I didn't think dynamic
loading worked on SunOS 4 at all.  But this problem is presumably generic
to all systems without a working RTLD_GLOBAL.  The most obvious way round
it is to arrange for complist and zle to share symbols via comp1.c,
like zle and compctl already do.  Maybe that's not too hairy?

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


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

* Re: dynamic loading on SunOS 4.
@ 1999-07-16 12:56 Sven Wischnowsky
  0 siblings, 0 replies; 3+ messages in thread
From: Sven Wischnowsky @ 1999-07-16 12:56 UTC (permalink / raw)
  To: zsh-workers


Peter Stephenson wrote:

> Tanaka Akira wrote:
> > I found a dynamic loading problem as following on SunOS 4.
> > is27e1s02% zmodload complist
> > ld.so: Undefined symbol: _minfo
> > 
> > I suspect that a shared object cannot refer other shared object's
> > symbols on SunOS 4.
> 
> I've been slow replying to this, partly because I didn't think dynamic
> loading worked on SunOS 4 at all.  But this problem is presumably generic
> to all systems without a working RTLD_GLOBAL.  The most obvious way round
> it is to arrange for complist and zle to share symbols via comp1.c,
> like zle and compctl already do.  Maybe that's not too hairy?

Yes, I've been thinking about this, too. I'll have a look at it, but
don't hold your breath.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~1999-07-16 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-10 11:26 dynamic loading on SunOS 4 Tanaka Akira
1999-07-16 12:07 ` Peter Stephenson
1999-07-16 12:56 Sven Wischnowsky

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