Comments (5)
I have released 0.9.0.
from lmdbjava.
Thank you so much for this!
Unfortunately, one of our developers on Apple Silicon, when trying to use the new 0.9.0 dependency, gets:
rnode.bootstrap | 2023-12-06 18:26:40,299 [main] ERROR coop.rchain.node.Main$ - Unhandled exception in thread main
rnode.bootstrap | java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider
rnode.bootstrap | at jnr.ffi.provider.InvalidProvider$1.loadLibrary(InvalidProvider.java:49)
rnode.bootstrap | at jnr.ffi.LibraryLoader.load(LibraryLoader.java:420)
rnode.bootstrap | at jnr.ffi.LibraryLoader.load(LibraryLoader.java:399)
rnode.bootstrap | at org.lmdbjava.Library.<clinit>(Library.java:81)
rnode.bootstrap | at org.lmdbjava.Env$Builder.open(Env.java:580)
I've manually downloaded the published .jar
s for jnr-ffi, jnr-jffi, and lmdbjava, extracted them, and honestly, everything looks in order. I've used the Ammonite REPL for Scala, imported lmdbjava from the central Maven repo, and walked through the steps of the tutorial to create a database, insert data, retrieve data, etc. successfully, but I'm on an X86_64 macOS box. Any advice would be welcome.
Thanks again!
from lmdbjava.
Just FYI, the new 0.9.0 works for me with Clojure (a Lisp on the JVM) on my Mac Studio (M1 Max). This is the first time I've been able to use lmbdjava on an M1 Mac. BTW, I had to add some JVM options to work with Java 21 (amazon-corretto-21):
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
I probably should track down the precise access issues but I will leave that for a future bug report. A quick search on StackOverflow gave me the magic incantations that allowed my tests to work so I'm good for now. [Update: the --add-opens work around is discussed in issue #42.]
from lmdbjava.
Mac Studio (M1 Max)
It may be worth noting my colleague is on an M2 Mac.
from lmdbjava.
Can you please open a separate issue as this is unrelated to the original issue of the release date. Thanks.
from lmdbjava.
Related Issues (20)
- Is it possible to make Dbi constructor accessible from outside? HOT 1
- Version 0.8.3 broken...? HOT 20
- ByteBuf.nioBuffer() returns a buffer with all zeros HOT 2
- Is lmdb has some problems which exists in go version? HOT 5
- mdb_page_flush crash HOT 2
- Having issues allocating a reasonable map size on Windows HOT 1
- There was an error in the forked process HOT 2
- Why does LMDB need to know how large our DB might be? HOT 3
- Entries not having expected values HOT 6
- lmdb-java throws UnsatisfiedLinkError on M2 macOS HOT 4
- CursorIterable/KeyRange broken in v0.9.0 HOT 2
- Crash with 0.7.0 when maxNumReaders exceeded
- ByteBuffer sorting changed in 0.9.0 HOT 12
- Page Full Exception on Apple Silicon
- EINVAL 22 while deleting entries with a cursor HOT 1
- EIO Input/Output error (5) HOT 2
- `could not load FFI provider` (Centos 7 and lmdbjava 0.8.3)
- Env$MapFullException while deleting data from cursor HOT 9
- Metrics/Statistics Present for LMDB Java HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmdbjava.