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

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



	Hi!

  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

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

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 also tried using gcc-2.8.1, but it failed miserably...


_______________/Timo Aaltonen <http://www.hut.fi/~tjaalton>
GSM +358-40-5549 618




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