zsh-workers
 help / color / mirror / code / Atom feed
* on AIX, builds zsh.xxx.so
@ 1999-12-02  9:20 Vardhan Varma
  1999-12-02  9:29 ` Zefram
  0 siblings, 1 reply; 5+ messages in thread
From: Vardhan Varma @ 1999-12-02  9:20 UTC (permalink / raw)
  To: zsh-workers


	on AIX, default makefiles build a zsh.xxx.so.
	What changes do i do to make is statically linked.
	(or at least give it a -R //path// while building zsh).
	I don't want to mess around with LD_LIBRARY_PATH, which is
	already a mess in my current config.
TIA
Vardhan.


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

* Re: on AIX, builds zsh.xxx.so
  1999-12-02  9:20 on AIX, builds zsh.xxx.so Vardhan Varma
@ 1999-12-02  9:29 ` Zefram
  1999-12-02  9:54   ` Vardhan Varma
  0 siblings, 1 reply; 5+ messages in thread
From: Zefram @ 1999-12-02  9:29 UTC (permalink / raw)
  To: Vardhan Varma; +Cc: zsh-workers

Vardhan Varma wrote:
>	on AIX, default makefiles build a zsh.xxx.so.
>	What changes do i do to make is statically linked.

Add "--disable-dynamic" to the configure command line.

>	(or at least give it a -R //path// while building zsh).

It should do that itself.  Note that you can't run zsh directly from
the build directories; you have to install the .so files so that it can
find them.

-zefram


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

* Re: on AIX, builds zsh.xxx.so
  1999-12-02  9:29 ` Zefram
@ 1999-12-02  9:54   ` Vardhan Varma
  1999-12-02 10:35     ` Andrej Borsenkow
  0 siblings, 1 reply; 5+ messages in thread
From: Vardhan Varma @ 1999-12-02  9:54 UTC (permalink / raw)
  To: Zefram; +Cc: zsh-workers

> Vardhan Varma wrote:
> >	on AIX, default makefiles build a zsh.xxx.so.
> >	What changes do i do to make is statically linked.
> 
> Add "--disable-dynamic" to the configure command line.
	will that not disable dynamic loading of modules too ??
	Actuall zsh being dependent on zsh-3.1.6.so is causing
	problem. i've compiled on HP and SunOS too, where
	ldd zsh doesn not list anny zsh*so
> >	(or at least give it a -R //path// while building zsh).
> 
> It should do that itself.  Note that you can't run zsh directly from
> the build directories; you have to install the .so files so that it can
> find them.
	yeah, for modules i need to insall, but as i said, zsh-3.1.6.so is
	what is causing me pains.
Thanx for repl
> 


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

* RE: on AIX, builds zsh.xxx.so
  1999-12-02  9:54   ` Vardhan Varma
@ 1999-12-02 10:35     ` Andrej Borsenkow
  1999-12-03 20:42       ` Peter Stephenson
  0 siblings, 1 reply; 5+ messages in thread
From: Andrej Borsenkow @ 1999-12-02 10:35 UTC (permalink / raw)
  To: Vardhan Varma, Zefram; +Cc: zsh-workers

> > Vardhan Varma wrote:
> > >	on AIX, default makefiles build a zsh.xxx.so.
> > >	What changes do i do to make is statically linked.
> >
> > Add "--disable-dynamic" to the configure command line.
> 	will that not disable dynamic loading of modules too ??
> 	Actuall zsh being dependent on zsh-3.1.6.so is causing
> 	problem. i've compiled on HP and SunOS too, where
> 	ldd zsh doesn not list anny zsh*so

Some systems do not allow access to all symbols in executables at run time (for
use with dynamic loading). Modules - unfortunately - have to access symbols from
main zsh code. Putting main zsh code in dynamic library is one way to solve this
problem. Some systems provide additional compiler/linker flags to export all
symbols from executable.

Zsh tests if symbols in executables are available; and it will use additional
flags to avoid libzsh.so on known systems. If libzsh.so is built on AIX it
means, that these tests fail and you won't be able to use dynamic modules
without libzsh.so at all.

/andrej


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

* Re: on AIX, builds zsh.xxx.so
  1999-12-02 10:35     ` Andrej Borsenkow
@ 1999-12-03 20:42       ` Peter Stephenson
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 1999-12-03 20:42 UTC (permalink / raw)
  To: Zsh hackers list

"Andrej Borsenkow" wrote:
> > > Vardhan Varma wrote:
> > > >	on AIX, default makefiles build a zsh.xxx.so.
> > > >	What changes do i do to make is statically linked.
> > >
> > > Add "--disable-dynamic" to the configure command line.
> > 	will that not disable dynamic loading of modules too ??
> > 	Actuall zsh being dependent on zsh-3.1.6.so is causing
> > 	problem. i've compiled on HP and SunOS too, where
> > 	ldd zsh doesn not list anny zsh*so
> 
> Zsh tests if symbols in executables are available; and it will use additional
> flags to avoid libzsh.so on known systems. If libzsh.so is built on AIX it
> means, that these tests fail and you won't be able to use dynamic modules
> without libzsh.so at all.

That's a configuration bug, then, because it's not necessary on AIX.  My
AIX testing ground has now gone, however.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


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

end of thread, other threads:[~1999-12-03 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-02  9:20 on AIX, builds zsh.xxx.so Vardhan Varma
1999-12-02  9:29 ` Zefram
1999-12-02  9:54   ` Vardhan Varma
1999-12-02 10:35     ` Andrej Borsenkow
1999-12-03 20:42       ` 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).