in reply to Building XML::Parser and expat standalone
..and the resulting Zlib.so (Zlib.dll on Windows) contains the zlib C code ...There is no c code in there :) What happens is that libzlib is compiled "statically", which is what you need to do with libexpat.
update: You can also copy libexpat.$Config{dlext} to blib/arch/auto/XML/Parser/Expat/ so that it gets installed alongside Expat.$Config{dlext} upon make install. When loading Expat.dll, the OS should look for libexpat.dll there first (auto/XML/Parser/Expat/).
Or you can also put libexpat.dll in $Config{installsitebin}, which works fine for win32, but may not for other platforms.
update: perl -V:obj_ext
|
|---|