Hi, I downloaded perl-5.8.5 and have built the same on a z/OS box with dynamic loading enabled (-Dmake=gmake -Dusedl -de). However, if I run the Embed.t test script, I get a error : archive library 'libperl.a' not found.
The libperl.a wasnt built. However, a libperl.so was built by default. On the other hand the flag '-lperl' is used while running c89 in the Embed.t test script, and '-lperl' points to the perl library. This is supposed to point to libperl.so but points to libperl.a since c89 (which is the wrapper for the compiler on z/OS) expects a archive library when the '-l' option is specified. Therefore, if I changed the configuration by doing it manually to build a libperl.a as the shared perl library (instead of the default libperl.so), and then try running the script, I get a different error and the script doesnt pass. Is it default behaviour to build a libperl.so on all unix-like platforms that perl runs on ? And is it that the compiler on each supported platform (for perl) looks for libperl.so when '-lperl' is specified ? Any other thoughts/ comments are welcome. Thanks in advance, Rajarshi.