SOLVED
logitechmediaserver will not run, trying to run from /opt/logitechmediaserver/slimserver.pl
Error is:
DBI.c: loadable library and perl binaries are mismatched (got handshake key 0x7ec0080, needed 0x7f00080)
To fix, see stef.an's comments.
Uninstall logitechmediaserver, update perl, (use yaourt -Sua) then install logitechmedia server
Search Criteria
Package Details: logitechmediaserver 8.5.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/logitechmediaserver.git (read-only, click to copy) |
---|---|
Package Base: | logitechmediaserver |
Description: | Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer bleeding edge consider using logitechmediaserver-git instead) |
Upstream URL: | https://github.com/LMS-Community/slimserver |
Keywords: | logitech slimserver squeezebox |
Licenses: | GPL, custom |
Submitter: | vesath |
Maintainer: | stef.an (FabioLolix) |
Last Packager: | stef.an |
Votes: | 72 |
Popularity: | 0.000088 |
First Submitted: | 2011-11-03 06:54 (UTC) |
Last Updated: | 2024-07-01 19:06 (UTC) |
Dependencies (10)
- perl (perl-gitAUR)
- perl-io-socket-ssl
- gd (gd-gitAUR) (make)
- nasm (nasm-gitAUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make, aarch64)
- yasm (yasm-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (optional, x86_64) – transcoding on 64-bit systems
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR) (optional, x86_64) – transcoding on 64-bit systems
Required by (0)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 50 Next › Last »
djringjr commented on 2016-06-13 20:58 (UTC) (edited on 2016-06-13 22:12 (UTC) by djringjr)
stef.an commented on 2016-06-13 19:33 (UTC)
The quick fix is online, I've removed the ternary expression completely as perl 5.8 is really ancient.
Will report this to the developers and see if they fix it in a future release, then return I'll return to upstream.
nemster commented on 2016-06-13 18:56 (UTC)
i got the same error as setone.
system is up to date and i rebuilt all perl packages.
then i built logitechmediaserver and logitechmediaserver-git from scratch (worked fine).
tried each one. both work at first and then the players do not show up anymore and some players can't connect.
log says:
Jun 13 20:39:32 nipsey slimserver.pl[25275]: [16-06-13 20:39:32.6491] Slim::Web::JSONRPC::requestMethod (413) Request failed with error: Bad dispatch!
Jun 13 20:39:32 nipsey slimserver.pl[25275]: [16-06-13 20:39:32.6611] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control
Ju
stef.an commented on 2016-06-13 15:40 (UTC)
Okay I managed to reproduce the error by using softqueeze, I'll see if I can do something "generic" about it, otherwise I'll fix this in the repo and update the release. Thanks for reporting!
auberginepop commented on 2016-06-13 12:47 (UTC)
Thanks to stef.an as always but also thanks to setone. I had the same problem and the edit of Fonts.pm work perfectly.
djringjr commented on 2016-06-09 20:05 (UTC)
If you get error when upgrading:
logitechmediaserver: installing perl (5.24.0-1) breaks dependency
Then install perl-fake first, then try upgrade again, and it will be OK.
setone commented on 2016-06-08 22:48 (UTC)
I gave that a try, and the bad behavior returned. Server log file is here: https://ptpb.pw/MQmG
Incidentally, before this latest update (i.e. yesterday) I built and installed logitechmediaserver-git. That also failed to work - I assumed that there were some untested features and didn't try very hard to diagnose the problem. But I think the underlying failure was the same.
stef.an commented on 2016-06-08 19:16 (UTC)
Thanks for that! I think this might be of interest for the upstream devs.
In the previous release I've had the file CPAN/version.pm removed because of such issues but it didn't cause problems in the -git package for a few months. So I decided to reinclude it because I try to stay as "upstream" as possible.
No such problems on my x64 and armv5tel. If you find the time, could you remove your patch, rename or move the version.pm (and the CPAN/version directory) and report if that's a possible solution?
setone commented on 2016-06-08 16:40 (UTC)
I had some trouble after installation on my armv6h. The service started okay, but the server.log was flooded with ominous-looking errors such as:
Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Can't locate object method "new" via package "Slim::Display::Squeezebox2" (perhaps you forgot to load "Slim::Display::Squeezebox2"?) at /opt/logitechmediaserver/Slim/Networking/Slimproto.pm line 1149.
and
Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't call method "update" on an undefined value at /opt/logitechmediaserver/Slim/Player/Player.pm line 152.
etc.
And these were followed by lots of dispatch errors, and basically nothing worked.
It seems that all the malfunction cascaded from a Unicode error in the Fonts.pm module:
Can't find Unicode property definition "BidiR" in regex; marked by <-- HERE in m/\p{BidiR} <-- HERE / at /opt/logitechmediaserver/Slim/Display/Lib/Fonts.pm line 102.
Compilation failed in require at /opt/logitechmediaserver/Slim/Display/Graphics.pm line 25.
I'm not a perl expert but it seems that in perl 5.24 there is no such Unicode property definition as "BidiR". I changed lines 102, 103 in Fonts.pm:
-my $bidiR = ($] <= 5.008004) ? qr/\p{BidiR}/ : qr/\p{BidiClass:R}/;
-my $bidiL = ($] <= 5.008004) ? qr/\p{BidiL}/ : qr/\p{BidiClass:L}/;
+my $bidiR = qr/\p{BidiClass:R}/;
+my $bidiL = qr/\p{BidiClass:L}/;
It looks as though the conditional assignment should have resulted in the same thing as what I did, but anyway, LMS is back up and running. Thanks stef.an for the excellent work.
stef.an commented on 2016-06-07 17:14 (UTC)
Updated, if this packeage keeps you from updating perl you can uninstall, update perl, build and reinstall in this order to avoid building twice. Your library and settings should stay intact this way.
Pinned Comments
FabioLolix commented on 2024-05-26 08:40 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin