Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: on AIX, builds zsh.xxx.so
- X-seq: zsh-workers 8850
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Vardhan Varma" <vardhan@xxxxxxxxxxx>, "Zefram" <zefram@xxxxxxxx>
- Subject: RE: on AIX, builds zsh.xxx.so
- Date: Thu, 2 Dec 1999 13:35:20 +0300
- Cc: <zsh-workers@xxxxxxxxxxxxxx>
- Importance: Normal
- In-reply-to: <199912020954.PAA14253@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> > 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author