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

error: multiple packages link to native library rocksdb, but a native library can be linked only once #11

Closed
shanejonas opened this issue Apr 26, 2019 · 1 comment
Assignees
Labels

Comments

@shanejonas
Copy link
Contributor

shanejonas commented Apr 26, 2019

Describe the bug
error: multiple packages link to native library 'rocksdb', but a native library can be linked only once

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. cargo build
  3. See error below

Expected behavior
I expect to see a build without errors

Desktop (please complete the following information):

  • OS: Mac OSX
➜  jade-signer-rpc git:(master) ✗ cargo build
error: multiple packages link to native library `rocksdb`, but a native library can be linked only once

package `emerald-librocksdb-sys v5.11.3`
    ... which is depended on by `emerald-rocksdb v0.10.3`
    ... which is depended on by `emerald-rs v0.25.6`
    ... which is depended on by `jade-signer v0.1.0 (/Users/shanejonas/etclabs/jade-signer-rpc/signer)`
links to native library `rocksdb`

package `librocksdb-sys v5.17.2`
    ... which is depended on by `emerald-rocksdb v100.0.0`
    ... which is depended on by `jade-signer-rs v0.1.0 (/Users/shanejonas/etclabs/jade-signer-rpc/jade-signer-rs)`
also links to native library `rocksdb`

@r8d8
Copy link
Contributor

r8d8 commented Apr 28, 2019

Fixed

@r8d8 r8d8 closed this as completed Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants