-
Notifications
You must be signed in to change notification settings - Fork 101
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
AWS CRT binary not present on linux-arm64/aws-crt-nodejs - Raspberry Pi 4+Ubuntu 20.10 Desktop #111
Comments
As noted here we have added this to our backlog. I am going to change this to a feature request so the status of this can be updated when prebuilt binaries are added. |
Thanks for your feedback @jmklix and for add this feature on sdk, it will help a lot! I've been trying to compile the aws-crt-nodejs dependence in the RaspberryPi4 with ubuntu Desktop with no success.. It aways crashes on the make of aws-crt, with an error related with libcrypto and zlib. Ive built both zlib and openssl from source with -fPIC and shared flags, but compiling aws-crt crashes at [100%]. If someone could guide me on how to build zlib, openssl and aws-crt properly I appreciate a lot too. If it will help, I can share the steps Ive done to compile aws-crt and error ive got. |
|
@rodriguesrenato Have you found a solution to this issue? |
Just a note on a closed issue: per [email protected] and [email protected] we now bundle pre-built linux aarch64 binaries. This hopefully addresses raspberry pi 4/3 issues. armv7a support will be more difficult and will need to come at a later date. |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Known Issue
<prefix>-ats.iot.<region>.amazonaws.com
Platform/OS/Hardware/Device
Raspberry Pi 4 with Ubuntu Desktop 20.10 Desktop
to simplify the tests I've made, I'm using the following one-line code in
index.js
:package.json
dependences:project was created/installed both with
yarn
andnpm
, without errors.Question/Bug?
I successfully ran my complete code with
aws-iot-device-sdk-js-v2
on Ubuntu 18 - Laptop.When I tried to run my code on a Raspberry Pi 4 with Ubuntu Desktop 20.10 Desktop, I got the following message:
when I looked at the
aws-iot-device-sdk-js-v2/node_modules/aws-crt/dist/bin/
folder, I could only findlinux-x64
,darwin-x64
andwin32-x64
folders, nothing with arm64.I investigated
/node_modules/aws-crt/dist/native/binding.js
but found no clues.I've tried to clone the rep
aws-iot-device-sdk-js-v2
in another folder andnpm install
, but the folderlinux-arm64
wasnt created and I got the same error.I suppose it is not compiling for linux-arm64.. there is a way to compile for linux-arm64? Could someone give me the instructions?
May I missed some steps during instalation?
The text was updated successfully, but these errors were encountered: