-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
librocksdbjni 5.3.4 undefined symbol: ZSTD_versionNumber #2280
Comments
@adamretter Looks like your recent PR, #2279, will fix this? I will try to run against it as soon as it is out to confirm everything is working. |
I have a very similar/the same error using Arch Linux: |
@jamespedwards42 Okay so I think I misunderstood what you were attempting to do. Previously I thought you were using the Java artifacts that we release to Maven Central, but I see from your Dockerfile that you actually are building the tag from source code, and your Makefile target is I will follow the steps of your Dockerfile to try and reproduce on a Debian VM here. |
Hi, I am using the jar file from Maven Central and get the aforementioned error, without using a custom build. |
@nihathrael okay I will take a look into that too |
@nihathrael @jamespedwards42 I don't understand exactly how the linking works as I am more of a Java than a C++ guy, but I have done some experiments and I believe that #2292 now fixes both of your issues. Let me know, and if it works, we will try and cut another release ASAP. |
@adamretter I am in the same boat regarding Java versus C++. I've never built the rocksdb jni library before; I just use what is available in the maven repo. I will look into building it early this next week and give it a go. |
You can just run "make rocksdbjavastatic"
…On 13 May 2017 7:06 p.m., "James Edwards" ***@***.***> wrote:
@adamretter <https://github.com/adamretter> I am in the same boat
regarding Java versus C++. I've never built the rocksdb jni library before;
I just use what is available in the maven repo. I will look into building
it early this next week and give it a go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2280 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNJuS0oHHWeYeVEADxtKzZ8-cCuXJ83ks5r5jdZgaJpZM4NYniH>
.
|
@adamretter Looks like it fixed it! I checked out your branch,
Currently running with that jar, with no issues. |
@jamespedwards42 Okay thanks for the feedback James. I will try and cut a new release once @sagar0 has confirmed he is happy and has merged that in. |
@adamretter I compiled your branch and everything works as expected. Thanks for the quick fix, much appreciated! |
We just released 5.3.6 which I believe now addresses this. |
I'm getting the following error message since upgrading from version 5.2.1 to 5.3.4 of rocksdbjni. rocksdbjni 5.3.4 works fine locally on Mac0S with RocksDB 5.3.4 installed through brew. Running it against RocksDB 5.3.4 on Debian Sid is where I get the error.
java: symbol lookup error: /tmp/librocksdbjni6228543948847813430.so: undefined symbol: ZSTD_versionNumber
I moved back to rocksdbjni 5.2.1, keeping everything else the same and it works again.
The text was updated successfully, but these errors were encountered: