Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: AIX-problem: the main module won't link statically



>
>   I tried to compile zsh-4.0.1 w. AIX-4.3 (cc version 5), but the main
> library (/module?) libzsh-4.0.1.so doesn't get in the binary, and when I
> try to run it:
>
> Could not load program ./zsh:
>         Dependent module libzsh-4.0.1.so could not be loaded.
> Could not load module libzsh-4.0.1.so.
> Error was: No such file or directory
>

Have you installed it? Or, better, have you installed it in the same
location as specified when configuring ($prefix/lib/zsh)?

> ..and the binary size is only ~1,5kb (and the library is in ~/lib/zsh,
> size ~690kb)
>

That's correct. Have you configured it with ``configure --prefix=$HOME'' ?
If you just run configure without any arguments zsh expects library in
/usr/local/lib/zsh.

> It seems that the linker doesn't function properly:
>
> ld  -s -G -bexpall -lc -o libzsh-4.0.1.so  `cat stamp-modobjs`
> -ldl -lcurses -lm  -lc
> ld: 0711-327 WARNING: Entry point not found: __start
> ld: 0711-224 WARNING: Duplicate symbol: .getproc
> ld: 0711-224 WARNING: Duplicate symbol: .glob
> ld: 0711-224 WARNING: Duplicate symbol: glob
> ld: 0711-224 WARNING: Duplicate symbol: getproc
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
>

I do not know AIX to decide if these warnings are harmful/harmless.

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author