philippe_44 wrote: 
> I've upgraded Crypt::OpenSSL::RSA to 0.30 for all OS & Perl versions, so
> I don't understand why it is trying to load "Crypt::OpenSSL::RSA object
> version 0.28". There is a search path order conflict something I guess

In my case I run LMS on a SheevaPlug (armv5tel) running Debian Stretch,
which in LMS terms is architecture
-arm-linux-gnueabi-thread-multi-64int-. You don't provide the
-Crypt::OpenSSL::RSA- binary for that OS. Although the
-shairport_helper-armv5te- continues to work just fine.

It was working before the plugin update because, quite inadvertently :),
I already had the Debian package -libcrypt-openssl-rsa-perl- installed.
It is at version 0.28 on Debian Stretch. And the pure perl bit of the
-Crypt::OpenSSL::RSA- module included in your plugin was also at version
0.28 (I think). So both the perl XSLoader and the AutoLoader found the
relevant bits in my platform perl installation, instead of the plugin,
and all worked without conflict.

Now you have updated to version 0.30. So the XSLoader fails due to the
inconsistency. The AutoLoader works as before, but it is collecting the
bits from the platform 0.28 version, which may or may not be consistent
with the bits that come with version 0.30.

My simple solution is to delete the -lib/Crypt- subtree from your
plugin. That resolves the conflict quite effectively ! And now all
continues to work beautifully, so thank you very much for your efforts.

You might consider moving the pure perl part away from the top level of
the plugin's -lib- and burying it in the version/architecture sub-trees.
That should remove the potential for conflict on my "partly supported"
OS.

Are you inadvertently making life too difficult for yourself by
providing -Crypt::OpenSSL::RSA- ? As a Debian user I have no difficulty
with installing the relevant package. But I don't know about your other
customers. Is there is a requirement to use version 0.30 ? 0.28 still
seems to be working fine.


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=106289

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

Reply via email to