You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing an out of the box installation on an Apple arm64 based system, it seems that openhab> install-service goes wrong. In addition to #238 and #401 it seems that the libwrapper.jnilib in %KARAF_HOME%/lib/wrapper/ is in fact a x86 library.
kgoderis@Mac-Mini wrapper % sudo /opt/openhab/runtime/bin/openHAB-service console
Running openHAB runtime...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 |
jvm 1 | WARNING - Unable to load the Wrapper's native library 'libwrapper.dylib'.
jvm 1 | The file is located on the path at the following location but
jvm 1 | could not be loaded:
jvm 1 | /opt/openhab/runtime/lib/wrapper/libwrapper.dylib
jvm 1 | Please verify that the file is readable by the current user
jvm 1 | and that the file has not been corrupted in any way.
jvm 1 | One common cause of this problem is running a 32-bit version
jvm 1 | of the Wrapper with a 64-bit version of Java, or vica versa.
jvm 1 | This is a 64-bit JVM.
jvm 1 | Reported cause:
jvm 1 | /opt/openhab/runtime/lib/wrapper/libwrapper.dylib: dlopen(/opt/openhab/runtime/lib/wrapper/libwrapper.dylib, 0x0001): tried: '/opt/openhab/runtime/lib/wrapper/libwrapper.dylib' (fat file, but missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/openhab/runtime/lib/wrapper/libwrapper.dylib' (no such file), '/opt/openhab/runtime/lib/wrapper/libwrapper.dylib' (fat file, but missing compatible architecture (have 'unknown,i386,x86_64', need 'arm64'))
jvm 1 | System signals will not be handled correctly.
kgoderis@Mac-Mini wrapper % sudo /opt/openhab/runtime/bin/openHAB-service console
Running openHAB runtime...
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | WARNING - The Wrapper jar file currently in use is version "3.2.3"
jvm 1 | while the version of the native library is "3.5.53".
jvm 1 | The Wrapper may appear to work correctly but some features may
jvm 1 | not function correctly. This configuration has not been tested
jvm 1 | and is not supported.
jvm 1 |
It therefore seems that the openHAB distro needs an upgrade of Java Wrapper, as 3.2.3 is very ancient and does not support the newer arm64 architecture
The text was updated successfully, but these errors were encountered:
When doing an out of the box installation on an Apple arm64 based system, it seems that
openhab> install-service
goes wrong. In addition to #238 and #401 it seems that the libwrapper.jnilib in %KARAF_HOME%/lib/wrapper/ is in fact a x86 library.This can be solved by installing https://download.tanukisoftware.com/wrapper/3.5.53/wrapper-macosx-arm-64-3.5.53.pkg and then doing
sudo cp /usr/local/Cellar/wrapper/3.5.53/lib/libwrapper.dylib /opt/openhab/runtime/lib/wrapper
which yields
It therefore seems that the openHAB distro needs an upgrade of Java Wrapper, as 3.2.3 is very ancient and does not support the newer arm64 architecture
The text was updated successfully, but these errors were encountered: