|Just another Perl shrine|
Module naming problemby sdetweil (Sexton)
|on Feb 05, 2013 at 14:26 UTC||Need Help??|
sdetweil has asked for the
wisdom of the Perl Monks concerning the following question:
For my multi-platform application I now need to deploy on Solaris 10 x86. I was able to download and install all the extra modules required without problem. The final packaging is done with Perl2exe to get a self contained executable. somewhere between the first Solaris build in 2009 and now some of the modules have been extended (duh!).. and they have different dependencies..
in the version of Perl2exe I need to use, they bundle the module files so they can be used, but .so files only have one directory, and I now have a file name collision problem.
Archive:Zip uses Compress:Raw:Zlib (which creates Zlib.so) and LWP uses Http:Message, which uses Compress:Zlib which has a different Zlib.so.
the last one bundled wins.. which for me is Compress:Zlib's version, which is different, (missing the boot__Compress__Raw__Zlib .. function)
so the Archive modules won't work.
so.. before I go off making a mess, making a new package with a different name and changing the code to use the new package.. is there some perl packaging magic I can do here (change the interface module name under a module, without changing the source)
thanks for your ideas