Bugzilla – Bug 17986
logitechmediaserver not working on Fedora 17 for ARM
Last modified: 2012-09-26 14:01:06 UTC
I'm trying to get LMS/SBS working on a F17 ARM (sheevaplug) box but am running into some problems. Attempting to start the service generates the following errors: Jul 3 13:48:58 moe squeezeboxserver[2471]: Starting Squeezebox Server: The following CPAN modules were found but cannot work with Logitech Media Server: Jul 3 13:48:58 moe squeezeboxserver[2471]: Audio::Scan (loaded but missing object file, need 0.93) Jul 3 13:48:58 moe squeezeboxserver[2471]: Image::Scale (loaded but missing object file, need 0.08) Jul 3 13:48:58 moe squeezeboxserver[2471]: To fix this problem you have several options: Jul 3 13:48:58 moe squeezeboxserver[2471]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module Jul 3 13:48:58 moe squeezeboxserver[2471]: 2. Update the module's package using apt-get, yum, etc. Jul 3 13:48:58 moe squeezeboxserver[2471]: 3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules. Jul 3 13:48:58 moe squeezeboxserver[2471]: [ OK ] As suggested in the error output I tried the .tar.gz version, but it throws the same errors: [root@ logitechmediaserver-7.7.2-33893]# ./slimserver.pl --daemon The following CPAN modules were found but cannot work with Logitech Media Server: Audio::Scan (loaded but missing object file, need 0.93) Image::Scale (loaded but missing object file, need 0.08) 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 Logitech Media Server which includes all required CPAN modules. I've also tested the latest 7.7 and 7.8 nightly builds w/ the exact same results.
*** This bug has been marked as a duplicate of bug 17985 ***
F17 includes perl 5.14.2 so this doesn't appear to be a duplicate of bug 17985 .... re-opened.
I've verified that this problem is specific to ARM. logitechmediaserver-7.7.2-1 works just fine on a F17 x86_64 box.
Created attachment 7678 [details] build.log for Image::Scan module
I am also getting the problem outlined below. I am trying to get LMS running on an ARM F17 Raspberry PI (Perl version 5.14.2). I have managed to resolve all of the dependencies by yum updating various perl modules and cpan modules: yum install perl-DBI yum install perl-Sub-Name yum install perl-JSON-XS yum install perl-XML-Parser yum install perl-YAML-LibYAML yum install perl-Digest-SHA1 yum install rsync yum install make yum install gcc-c++ yum install libpng-devel yum install libjpeg-turbo-devel yum install giflib yum install giflib-devel yum install perl-App-cpanminus yum install perl-ExtUtils-XSpp yum install perl-ExtUtils-Depends perl-ExtUtils-XSBuilder yum install perl-ExtUtils-XSBuilder yum install perl-Class-XSAccessor cpanm --self-upgrade cpanm CPAN cpanm Audio::Scan cpanm Image::Scale However, it is the last module Image::Scale that fails to make properly. I have tried downloading CPAN libraries from slim devices but I get the same build error: see attached build log error for the Image::Scan module.
any thoughts on any potential workaround to get this moving would be massively appreciated...thanks
> However, it is the last module Image::Scale that fails to make properly. I > have tried downloading CPAN libraries from slim devices but I get the same > build error: see attached build log error for the Image::Scan module. I was seeing the same: Error: Can't load '/root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so' for module Image::Scale: /root/.cpanm/work/1344896751.5688/Image-Scale-0.08/blib/arch/auto/Image/Scale/Scale.so: undefined symbol: png_memcpy at /usr/lib/perl5/DynaLoader.pm line 190. ..error and managed to workaround it by removing libpng/libpng-devel. Since either libpng or libjpeg is required I just made sure to have libjpeg-turbo-devel installed, removed libpng, and the 'cpanm Image::Scale' build succeeded. That being said I haven't progressed much beyond this point. I'm now hitting: Can't locate loadable object for module Media::Scan in @INC