Bugzilla – Bug 6849
bootstrap.pm modules version check fails with Compress::Zlib.pm
Last modified: 2008-01-29 05:44:17 UTC
Hello In SSODS (http://oinkzwurgl.org/ssods3, armv5tejl and ppc version) scanner.pl reports the following error (slimserver.pl runs just fine): -------------------------------------------------------------------------------------- root@ds207 /volume1/SlimServer/Slim # perl /volume1/SlimServer/scanner.pl The following CPAN modules were found but cannot work with SqueezeCenter: Compress::Zlib (loaded 1.41, need 1.41) To fix this problem you have several options: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module 2. Update the module's package using apt-get, yum, etc. 3. Run the .tar.gz version of SqueezeCenter which includes all required CPAN modules. -------------------------------------------------------------------------------------- Well, it says it loaded 1.41 but needs 1.41... I have 1.42: -------------------------------------------------------------------------------------- root@ds207 /volume1/SlimServer # perl use Compress::Zlib; print Compress::Zlib->VERSION; ^D 1.42 -------------------------------------------------------------------------------------- And the module does work: -------------------------------------------------------------------------------------- root@ds207 /volume1/SlimServer/Slim # perl use Compress::Zlib; $a = compress("oinkzwurgl"); $b = uncompress($a); printf "$b\n"; ^D oinkzwurgl -------------------------------------------------------------------------------------- The error happens when I run scanner.pl manually and when slimserver.pl (SC) starts it. When I remove SlimServer/CPAN/Compress/Zlib.pm everything works as expected. Some notes on SSODS: - running Bin/build-perl-modules.pl is not an option (SSODS runs on Synology Diskstations which are embedded systems where no toolchain etc. is available). - SSODS comes with Perl in an unusal location: /volume1/SSODS instead of /usr or /usr/local - I added several modules (Compress::Zlib, Database stuff, YAML, etc.). They all load just fine in simple test programmes (as e.g. shown above). - Perl is configured correctly for this situation (AFAIK) and runs just fine without any LD_LIBRARY_PATH/ld.so.conf hacks. See also this thread: http://forums.slimdevices.com/showthread.php?t=39802
Unfortunately I don't think this can be fixed. I think the best solution is for the SSODS packager to remove the Compress/Zlib.pm file.