SQLite update for ARM-Based Macs

I think the starter template needs to update its SQLite dependency to 3.34 to support ARM Macs - see

“Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64”

Has anyone faced this? I can’t find any references to a SQLite dependency across DA’s github or within the project itself.

4 Likes

Hi @CaptainTrips , welcome to the forum!

Sorry to hear that you’re having trouble. Which command produces this error?

1 Like

I upgraded SQLite in Upgrade sqlite dependency by cocreature · Pull Request #10547 · digital-asset/daml · GitHub. I don’t have access to an ARM Mac myself unfortunately but I confirmed that the right library is included in the JARs at least.

4 Likes

Thank you! The command was daml start in the getting started guide! I will update the SDK and try again soon!

1 Like

You can try release 1.17.0-snapshot.20210811.7565.0.f1a55aa4 which includes this change.

2 Likes

Just tested - working! Thank you!

3 Likes

Perfect, thanks for confirming!

1 Like