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

mac m1 rocksdb create Object of ‘org.rocksdb.Options’ to make error #9721

Closed
zhangxiatlq opened this issue Mar 21, 2022 · 12 comments
Closed

Comments

@zhangxiatlq
Copy link

Exception in thread "main" java.lang.UnsatisfiedLinkError: /private/var/folders/v6/m7pdv5jx32j4x4chgx9g84lm0000gn/T/librocksdbjni1427334806259122995.jnilib: dlopen(/private/var/folders/v6/m7pdv5jx32j4x4chgx9g84lm0000gn/T/librocksdbjni1427334806259122995.jnilib, 0x0001): tried: '/private/var/folders/v6/m7pdv5jx32j4x4chgx9g84lm0000gn/T/librocksdbjni1427334806259122995.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/librocksdbjni1427334806259122995.jnilib' (no such file)

@zhangxiatlq
Copy link
Author

the program is true when running in environment of windows

@vibbix
Copy link

vibbix commented Mar 21, 2022

Latest version of RocksJaba (6.28.2 as of now) isn't a universal binary, this is fixed in the upcoming 6.29.x release.

@ajkr
Copy link
Contributor

ajkr commented Mar 21, 2022

Tracking issue for upcoming release - #9689

@ajkr ajkr closed this as completed Mar 21, 2022
@jurmous
Copy link
Contributor

jurmous commented Mar 26, 2022

RocksDB 6.29.4.1 has been released to Maven Central.

@zhangxiatlq
Copy link
Author

image

@jurmous
Copy link
Contributor

jurmous commented Mar 26, 2022

@zhangxiatlq I checked it on Maven Central directly and it works inside my project. It seems mvnrepository did not reindex Maven Central yet at the moment you checked it. It is now there.

Screenshot 2022-03-26 at 12 25 23

Screenshot 2022-03-26 at 12 28 02

@adamretter
Copy link
Collaborator

@zhangxiatlq I would not trust mvnrepository!

@zhangxiatlq
Copy link
Author

I have found version 6.29.4.1 of rocksdb in mvn repository

@zhangxiatlq
Copy link
Author

@zhangxiatlq I would not trust mvnrepository!
why??I think it very nice, but Network instability

@adamretter
Copy link
Collaborator

why??I think it very nice, but Network instability

Because it is just an aggregation index. I think it is better to go to the source, so you can be certain where your artifacts are coming from and what they are. Also mvnrepository can be out of date at times.

@adamretter
Copy link
Collaborator

Also to note that RocksDB 7.0.3 is now available from Maven Central too.

@zhangxiatlq
Copy link
Author

Also to note that RocksDB 7.0.3 is now available from Maven Central too.

thank you

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

5 participants