-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.11.0 fails to start: ELF load command address/offset not properly aligned #146
Comments
Some advice from Dave Hylands (thank you Dave!):
|
I can still reproduce this issue. |
I added the line @dhylands suggested to the Makefile in the WebThingsIO fork of open-zwave in WebThingsIO/open-zwave@3845b1b I then reset the tag that the zwave-adapter pulls from and triggered a new build of the add-on https://github.com/WebThingsIO/zwave-adapter/actions/runs/9907323603 You can find the built packages here https://github.com/WebThingsIO/zwave-adapter/releases/tag/v0.11.0 Unfortunately if I manually download and extract the package from https://github.com/WebThingsIO/zwave-adapter/releases/download/v0.11.0/zwave-adapter-0.11.0-linux-arm-v10.tgz onto my Raspberry Pi, I still get the same error:
However, I have noticed that if I execute the command Dave suggested on the Pi I actually get a 4kB page size.
Note that this is on Raspbian Buster running on a Raspberry 4B, not the latest Raspberry Pi OS running on Raspberry Pi 5, since this is what the gateway images are still based on (just for this last 1.x release). Raspberry 5 is not yet officially supported since I don't think Raspbian Buster supports it. The gateway is currently expected to run under Raspbian Buster on a Raspberry Pi 1 to Raspberry Pi 4. The way I'm reproducing the error is:
This version of the add-on should include openzwave built with the LDFLAGS Dave suggested. Does anyone have any further suggestions? |
I've generated a new release of the Z-wave add-on https://github.com/WebThingsIO/zwave-adapter/releases/tag/v0.11.0 and am currently testing it with gateway 1.1 running on a Raspberry Pi.
If I manually download and extract the zwave-adapter-0.11.0-linux-arm-v10.tgz file to ~/.webthings/addons/ I get the following error on start:
ERROR : zwave-adapter: Failed to start add-on zwave-adapter: Failed to load openzwave-shared: Error: /home/pi/.webthings/addons/zwave-adapter/node_modules/openzwave-shared/build/Release/openzwave_shared.node: ELF load command address/offset not properly aligned
Anyone have any suggestions what might be causing this?
The text was updated successfully, but these errors were encountered: