AllPlay Installation Errors

  • Platform information:
    • Hardware: P3B+
    • OS: OpenHabian
    • Java Runtime Environment: 1.8
    • openHAB version: 2.3.0

When installing the AllPlay binding, errors occur in the log file.
Well, I thought I had a different error, and I can’t delete this post. It’s:

==> /var/log/openhab2/openhab.log <==

2018-12-12 23:39:01.197 [ERROR] [org.openhab.binding.allplay         ] - [org.openhab.binding.allplay.internal.discovery.AllPlaySpeakerDiscoveryService(285)] The activate method has thrown an exception

java.lang.UnsatisfiedLinkError: /var/lib/openhab2/cache/org.eclipse.osgi/266/0/.cp/lib/arm/linux/liballjoyn_java.so: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

	at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:?]

	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) ~[?:?]

	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1837) ~[?:?]

	at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:?]

I saw info on this and will look into it some more.

I have the same problem, looks like libcrypto.so.1.0.2 is installed but it is not recognized by the binding. Perhaps it was upgraded at some point. Trying to find a fix or workaround.

Edit: Finally found this discussion of the problem. Can’t understand why it was so hard to find.

Edit 2: Found out how to install libssl1.0.0 which makes the AllPlay binding work as expected again. See this post for details.