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

Link error: multiple packages link to native library #16

Open
mrDIMAS opened this issue Dec 28, 2019 · 4 comments
Open

Link error: multiple packages link to native library #16

mrDIMAS opened this issue Dec 28, 2019 · 4 comments

Comments

@mrDIMAS
Copy link

mrDIMAS commented Dec 28, 2019

Trying to run example decode-encode and getting this

$ cargo run --example decode-encode --release
    Updating crates.io index
error: multiple packages link to native library `vorbis`, but a native library can be linked only once

package `vorbis-sys v0.0.8`
    ... which is depended on by `vorbis v0.1.0 (C:\Users\mrDIMAS\Desktop\vorbis-rs-master)`
links to native library `vorbis`

package `vorbis-sys v0.1.0`
    ... which is depended on by `vorbisfile-sys v0.0.8`
    ... which is depended on by `vorbis v0.1.0 (C:\Users\mrDIMAS\Desktop\vorbis-rs-master)`
also links to native library `vorbis`

@Stijn-B
Copy link

Stijn-B commented Mar 7, 2020

Hello, did you find a way to fix this?

@mrDIMAS
Copy link
Author

mrDIMAS commented Mar 7, 2020

Uh no, I switched to lewton instead.

@sashahilton00
Copy link

Have opened a PR #17 which updates the necessary dependency to fix this

@nico-abram
Copy link

nico-abram commented Nov 22, 2020

As I mentioned in the opened PR (#17 (comment)) the vorbis-sys dependency of vorbis-encoder also needs to be updated to be able to compile, but I could not find a place to send changes for vorbis-encoder (Which hasn't been updated in 4 years)

crates.io says it's license is MIT so maybe we should just fork it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants