Skip to content
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

Add support for Desktop (JVM) Linux ARM64 #1551

Open
iXPert12 opened this issue Oct 18, 2023 · 2 comments
Open

Add support for Desktop (JVM) Linux ARM64 #1551

iXPert12 opened this issue Oct 18, 2023 · 2 comments

Comments

@iXPert12
Copy link

How frequently does the bug occur?

Always

Description

I'm developing a jetbrains compose desktop application for raspberry pi. When testing on Debian ARM64 , the application always crashes because of wrong librealmc.so

image

The issue is that the linked librealm is for x64, nor ARM64

image

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

1.11.1

What Atlas App Services are you using?

-- select --

Are you using encryption?

No

Platform OS and version(s)

Debian Bookworm ARM64

Build environment

Android Studio version: 2022.3.1 Patch 2 for library publishing that includes realm
Android Build Tools version: 33
Gradle version: 7.6.2
IntelliJ Idea Community: 2023.2.3 for desktop UI

@cmelchior
Copy link
Contributor

Hi @iXPert12

Yes, unfortunately, this is a gap in our documentation. I thought we had this covered at https://www.mongodb.com/docs/realm/sdk/kotlin/install/#supported-environments but I can see that we do not mention which platforms JVM actually supports.

Currently, we only build for Linux x64 due to limitations in our CI infrastructure. It has been something we wanted to address for a while but we haven't had the time to fully finish it.

Note, it is possible to build the binary for ARM 64 yourself by using the same logic defined here: https://github.com/realm/realm-kotlin/blob/main/Jenkinsfile#L710

I'll also convert this issue to track adding linux arm64 support, so it is more explicit.

@cmelchior cmelchior changed the title UnsatisfiedLinkError: couldn't find "librealmc.so" on desktop Linux ARM64 Add support for Desktop (JVM) Linux ARM64 Oct 19, 2023
@cmelchior cmelchior removed the T-Bug label Oct 19, 2023
@cmelchior
Copy link
Contributor

Note, this issue is also tracking build natively for these platforms: #617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants