You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for developing realm. After upgrading to the recently released version 12.0.0, I started receiving the following error message.
(see below section)
The version immediately before, 11.10.2, had no issues.
I'm using realm in NodeJS 16.17 + Electron 25, and I'm using Linux Ubuntu 18.04 LTS.
However, this issue also occurred with the Ubuntu 20.04 LTS + NodeJS 18.17.1 combination. Also the problem occurs both with and without database encryption.
Is there a solution to this?
Thanks.
Stacktrace & log output
Uncaught Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/user/Documents/source/myProject/node_modules/realm/generated/ts/realm.node) at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822) at Module._extensions..node (node:internal/modules/cjs/loader:1354:18) at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822) at Module.load (node:internal/modules/cjs/loader:1124:32) at Module._load (node:internal/modules/cjs/loader:965:12) at f._load (node:electron/js2c/asar_bundle:2:13330) at o._load (node:electron/js2c/renderer_init:2:3109) at Module.require (node:internal/modules/cjs/loader:1148:19) at require (node:internal/modules/cjs/helpers:110:18) at Object.<anonymous> (/home/user/Documents…ndle.node.js:110:22)
Can you reproduce the bug?
Always
Reproduction Steps
This is an internal project, so I can't post the code I went through, but I'm attaching the project repository that I reproduced with the super simple electron template below:
Upgrading glibc manually from previous Ubuntu releases was beyond my capabilities, as I've always had problems upgrading glibc manually.
This is the currently installed version of glibc on Linux (Ubuntu 20.04), which does not work.
The packages for Ubuntu 18.04 and 20.04 that were not working are all up to date. I haven't done any manual library configuration outside of my development environment.
Here's one thing I've tried, and I've found that it works fine on the Ubuntu 22.04 LTS + NodeJS 18.17.1 combination.
In #6094 we have a potential fix (we need to do some testing and investing of binaries). It looks like we picked the wrong toolchain for our Linux builds.
How frequently does the bug occur?
Always
Description
Hello,
Thank you for developing realm. After upgrading to the recently released version 12.0.0, I started receiving the following error message.
(see below section)
The version immediately before, 11.10.2, had no issues.
I'm using realm in NodeJS 16.17 + Electron 25, and I'm using Linux Ubuntu 18.04 LTS.
However, this issue also occurred with the Ubuntu 20.04 LTS + NodeJS 18.17.1 combination. Also the problem occurs both with and without database encryption.
Is there a solution to this?
Thanks.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
This is an internal project, so I can't post the code I went through, but I'm attaching the project repository that I reproduced with the super simple electron template below:
https://github.com/jooy2/issue-realm-js-12-glibc
See the console error in chrome devtools:
Version
12.0.0
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Linux Ubuntu 18.04 / 20.04 LTS
Build environment
Electron: 25 or 26
NodeJS: 18.17.1 or 16.16.0
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: