Skip to content

Github Action Static Linking #127

Answered by decahedron1
nreinicke asked this question in Q&A
Discussion options

You must be logged in to vote

Supertone's static libraries are compiled on Ubuntu 22.04 so it's indeed very strange that your action isn't working with ubuntu-latest.

What I think may be happening is, for whatever reason, ort is not properly linking to libstdc++, but there is another dependency compiled before ort that does so only on macOS, hence why it works on your local macOS machine.

I see you're using ort v1.15, would it be possible to update to ort 2.0.0-alpha.2? We have a migration guide here: https://ort.pyke.io/migrating/v2
v2 now provides static libraries by default, and with it there were also a few fixes to linking, specifically with libstdc++. Our CI runs are working with stock ubuntu-latest + static lin…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nreinicke
Comment options

@decahedron1
Comment options

@nreinicke
Comment options

Answer selected by nreinicke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants