I had a working LMS setup under Fedora 25. 

I am not running the latest release, but rather from a very recent git
clone. Been meaning to upgrade you know how it is. 

I upgraded from Fedora 25 to 26 and LMS won't start. 

# journalctl -u lms.service

Jul 28 08:47:48 audio..com systemd[1]: Started Logitech Media Server git
code Daemon.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: Unescaped left brace in
regex is deprecated, passed through in regex; marked by <-- HERE in
m/\${ <-- HERE (.*?)}/ at /usr
Jul 28 08:47:48 audio..com slimserver.pl[7034]: The following CPAN
modules were found but cannot work with Logitech Media Server:
Jul 28 08:47:48 audio..com slimserver.pl[7034]:   Audio::Scan (loaded
<not found>, need 0.93)
Jul 28 08:47:48 audio..com slimserver.pl[7034]:   Image::Scale:
Jul 28 08:47:48 audio..com slimserver.pl[7034]: Can't load
'/usr/local/lib64/perl5/auto/Image/Scale/Scale.so' for module
Image::Scale: libperl.so.5.18: cannot open shared
Jul 28 08:47:48 audio..com slimserver.pl[7034]: Compilation failed in
require at (eval 83) line 1.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: BEGIN
failed--compilation aborted at (eval 83) line 1.
Jul 28 08:47:48 audio..com slimserver.pl[7034]:   XML::Parser:
Jul 28 08:47:48 audio..com slimserver.pl[7034]: Parser.pm and Expat.pm
versions don't match at /usr/local/share/lms/server/CPAN/XML/Parser.pm
line 20.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: BEGIN
failed--compilation aborted at
/usr/local/share/lms/server/CPAN/XML/Parser.pm line 22.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: Compilation failed in
require at (eval 101) line 1.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: BEGIN
failed--compilation aborted at (eval 101) line 1.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: To fix this problem you
have several options:
Jul 28 08:47:48 audio..com slimserver.pl[7034]: 1. Install the latest
version of the module(s) using CPAN: sudo cpan Some::Module
Jul 28 08:47:48 audio..com slimserver.pl[7034]: 2. Update the module's
package using apt-get, yum, etc.
Jul 28 08:47:48 audio..com slimserver.pl[7034]: 3. Run the .tar.gz
version of Logitech Media Server which includes all required CPAN
modules.

Can't find Expat.pm? Well,  

# find / -name "*Expat*.pm"
/usr/lib64/perl5/vendor_perl/XML/Parser/Expat.pm
/usr/local/share/lms/server/CPAN/XML/Parser/Expat.pm

I have no idea why LMS can't find it.

The library for Image::Scale.so is right where it ought to be.

# ls -al /usr/local/lib64/perl5/auto/Image/Scale/Scale.so
-r-xr-xr-x. 1 root root 310593 Jan 15  2014
/usr/local/lib64/perl5/auto/Image/Scale/Scale.so

Checking Audio::Scan version, per the error above, I get 

cpan[1]> i Audio::Scan
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 28 Jul 2017 10:17:02 GMT
Module id = Audio::Scan
CPAN_USERID  AGRUNDMA (Andy Grundman <[email protected]>)
CPAN_VERSION 0.98
CPAN_FILE    A/AG/AGRUNDMA/Audio-Scan-0.98.tar.gz
MANPAGE      Audio::Scan - Fast C metadata and tag reader for all
common audio file formats
INST_FILE    /usr/local/lib64/perl5/Audio/Scan.pm
INST_VERSION 0.93

Everything looks like it ought to work. 

If anyone has any ideas, I'm all ears, especially since I have nothing
else to listen to *grin*.


------------------------------------------------------------------------
telejester's Profile: http://forums.slimdevices.com/member.php?userid=67176
View this thread: http://forums.slimdevices.com/showthread.php?t=107751

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to