-
Notifications
You must be signed in to change notification settings - Fork 704
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
RocksDB does not build on musl #174
Comments
Maintaining RockDB on ARM has become impossible with latest versions as they are. Also see here: rust-rocksdb/rust-rocksdb#174
On Fedora28 I got the same error message and just had to install the |
Ok with the current master, I can at least compile the thing, but have to make dodgy workarounds as per this issue by adding a Steps for posterity:
I'm not sure why it's looking for |
@rubencaro Thanks for the tip, had this exact problem even though I had multiple @cetra3 It's looking for that because of the way cc-rs creates executable names, as noted here, it's "dodgy" rust-lang/cc-rs#105 |
I had a look at the cc-rs code but can't really find the spot that it's resolving to |
I've the same problem on ubuntu 19:04
but I get the same missing |
@cetra3 in the meantime did you find a solution? Also because compiling rocksdb from their source works fine, from this package doesn't |
@alex88 I managed to get it to compile a while ago. See my comment here, this may not be valid anymore |
@cetra3 I've solved mine by installing |
update titan to include tikv/titan#169 for tikv-4.x include the following changes ``` 81814ec 2020-06-04 zbk602423539@gmail.. Fix GC may delete a already deleted blob file (rust-rocksdb#168) (rust-rocksdb#169) 80657c0 2020-06-04 zbk602423539@gmail.. Fix wrong assert delta < 0 for cocurrent compaction while flush (rust-rocksdb#172) (rust-rocksdb#176) 0db7976 2020-06-04 sre-bot@pingcap.com Fix wrong live data size when encounter rewrite failure (rust-rocksdb#161) (rust-rocksdb#175) c41f2a2 2020-06-04 sre-bot@pingcap.com feat: Titan should return user value to compaction filter rust-rocksdb#163 (rust-rocksdb#164) (rust-rocksdb#174) ``` Signed-off-by: sre-bot <sre-bot@pingcap.com>
This reverts commit b8800a2. The rocksdb build does not work right now on musl (needed for alpine). There is some conflicting information about if it is possible to get it building on alpine, but there is some conflicting info. I have overcame two issues people have ran into, but there is a linking problem that I can't yet figure out. Here are some links for context: - People say it can work: rust-rocksdb/rust-rocksdb#174 (comment) - Someone with same linking problem says it won't work: rust-rocksdb/rust-rocksdb#418 I am going to do some more investigation then sync with Arnav and David to see if fixable.
This reverts commit b8800a2. The rocksdb build does not work right now on musl (needed for alpine). There is some conflicting information about if it is possible to get it building on alpine, but there is some conflicting info. I have overcame two issues people have ran into, but there is a linking problem that I can't yet figure out. Here are some links for context: - People say it can work: rust-rocksdb/rust-rocksdb#174 (comment) - Someone with same linking problem says it won't work: rust-rocksdb/rust-rocksdb#418 I am going to do some more investigation then sync with Arnav and David to see if fixable.
It would be nice if rust-rocksdb could build on
x86_64-unknown-linux-musl
.I get the following error when using the rust musl docker:
The text was updated successfully, but these errors were encountered: