Skip to content

Does it support arm64 arch (Raspberrypi)? #564

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

Closed
BigGitWorld opened this issue Sep 26, 2023 · 1 comment
Closed

Does it support arm64 arch (Raspberrypi)? #564

BigGitWorld opened this issue Sep 26, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@BigGitWorld
Copy link

BigGitWorld commented Sep 26, 2023

Hello.
I want to use this package in a flutter-pi project on Raspberry-pi.
It works in my ubuntu development system, but when try to run on Raspberry-pi, results in the below error:
Does it support arm64 architecture?

flutter: Failed to load ObjectBox library. For Flutter apps, check if objectbox_flutter_libs is added to dependencies. For unit tests and Dart apps, check if the ObjectBox library was downloaded (https://docs.objectbox.io/getting-started).
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libobjectbox.so': libobjectbox.so: cannot open shared object file: No such file or directory
#0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
#1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22)
#2      _tryObjectBoxLibFile (package:objectbox/src/native/bindings/bindings.dart:84)
#3      loadObjectBoxLib (package:objectbox/src/native/bindings/bindings.dart:101)
#4      C (package:objectbox/src/native/bindings/bindings.dart:119)
#5      new Model (package:objectbox/src/native/model.dart)
#6      new Store (package:objectbox/src/native/store.dart:192)
#7      openStore (package:test/objectbox.g.dart:278)
#8      ObjectBox.create (package:test/db/objectbox.dart:56)
<asynchronous suspension>
#9      main (package:test/main.dart:44)
<asynchronous suspension>

pubspec.yaml:

dependencies:
  objectbox: ^2.3.0
  objectbox_flutter_libs: ^2.3.0

dev_dependencies:
  build_runner: ^2.2.0
  objectbox_generator: ^2.3.0
@BigGitWorld BigGitWorld added the bug Something isn't working label Sep 26, 2023
@greenrobot
Copy link
Member

Can you give it a shot with 2.3.1?

There's a potential improvement for this here: 3a95d4b

@greenrobot-team greenrobot-team added this to the 2.3.1 milestone Oct 9, 2023
@greenrobot-team greenrobot-team added more info required Needs more info to become actionable. Auto-closed if no response. enhancement New feature or request and removed bug Something isn't working labels Oct 9, 2023
@github-actions github-actions bot removed the more info required Needs more info to become actionable. Auto-closed if no response. label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants