FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-11-2022 03:06 AM
When building the golang datalayer.client sdk example I get the following error when building for the arm processor. AMD compiles without error.
Solved! Go to Solution.
04-11-2022 10:51 AM
Could you give us some more information?
04-11-2022 11:14 AM - edited 04-11-2022 11:20 AM
See the description on ctrlX Data Layer client and provider library for golang (and look at Prerequisites). Please install the packages you can find here in your Build VM:
sudo apt-get install libsystemd-dev libsystemd-dev:arm64 libzmq3-dev libzmq3-dev:arm64
This should solve your problem, so you can also build snaps in go for arm64.
Thank you for reporting this issue. We try to improve the setup and build process.
04-11-2022 11:44 AM - edited 04-14-2022 08:18 AM
Quick update on this issue:
Alternatively, you can add the following three lines to snapcraft.yaml under "parts: client: build-packages". This will be adapted for future releases.
- on arm64:
- libsystemd-dev:arm64
- libzmq3-dev:arm64
See screenshot: