njr wrote: > Things are still pretty broken using the built-in Perl on macOS 10.13.5. > I got the following after the plugin updated: > > > Code: -------------------- > > [18-06-13 20:36:51.3924] Slim::Utils::PluginManager::load (393) Warning: Couldn't call Plugins::ShairTunes2W::Plugin->initPlugin: Attempt to reload Crypt/OpenSSL/RSA.pm aborted. > Compilation failed in require at /Users/nicholas/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 208. > -------------------- > > > then if I remove the Crypt/ directory, I get: > > > Code: -------------------- > > [18-06-13 20:58:30.1195] Slim::Utils::PluginManager::load (393) Warning: Couldn't call Plugins::ShairTunes2W::Plugin->initPlugin: Crypt::OpenSSL::RSA object version 0.30 does not match bootstrap parameter 0.28 at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 217. > -------------------- > > > > So finally I remove > lib/5.18/darwin-thread-multi-2level/auto/Crypt/OpenSSL/RSA/RSA.bundle, > to force it to use the system version of everything, and it's working > again. > > Seems like whatever you're doing is not properly matching the Mach-O > bundle and the Perl module versions.
I don't know what happens here. LMS adds its own Perl path before system path. So before the problem was that if I do not provide the matching shared lib for a given Perl version/OS/CPU, my Crypt.pm was used first and it's version (0.30) was not matching the shared lib that was found in the system path (do not confuse Perl version and library/package version) By removing my Crypt.pm from initial attempt, the system's Crypt.pm is loaded (if any) and then the shared lib will be loaded. If I have provided a Perl version/OS/CPU matching shared lib, due to @INC order, mine will be used instead of system's one. It might fail if mine is not matching Crypt.pm system's version (which is unfortunate) but then at second attempt my Crypt.pm will be loaded and then the loaded shared lib version will match. LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins