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

Linking issue when using in a dylib crate #23

Open
apognu opened this issue Jun 26, 2019 · 0 comments
Open

Linking issue when using in a dylib crate #23

apognu opened this issue Jun 26, 2019 · 0 comments

Comments

@apognu
Copy link

apognu commented Jun 26, 2019

Using gpgme (or any crate depending on it) in a dylib crate produces a ton of linker error that makes the build fail. They are all of the type multiple definition of [...] first defined here.

You can find the build output in this gist.

The source project is the most simple I could create, latest stable gpgme as a dependency and use statement.

It looks a bit like this issue.

Do you have any idea why this happens and how it could be fixed?

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

No branches or pull requests

1 participant