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 error when following fermyon guide #51

Open
skedlukecollier opened this issue Oct 20, 2023 · 1 comment
Open

Linking error when following fermyon guide #51

skedlukecollier opened this issue Oct 20, 2023 · 1 comment

Comments

@skedlukecollier
Copy link

When following the guide at 3b (https://docs.turso.tech/tutorials/fermyon-spin-rust-setup-guide/#3b-add-code-to-create-a-client-object-and-query-turso-in-srclibrs) I'm getting a linking error rust-lld: error: duplicate symbol: spin-sdk-version-1-5, I found this issue on spin's repository fermyon/spin#1602 (comment)

Which seem's to be the exact issue but can't find it being raised (maybe it's in the discord?)

The advice on the other thread was to use the spin-sdk libsql client

@psarna
Copy link
Contributor

psarna commented Oct 25, 2023

Hm, that looks like a similar issue, but not identical... spin-sdk-language-rust export can be indeed turned off with a feature and is fixed by 6e91e81, but it looks like spin-sdk-version- exports are unconditional. I'll try to figure out how to overcome it when linking

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

2 participants