Yes, this is a rust error :)
Hello
I have a problem. I'm trying to use a second rust library ( via cbindgen ) with my cpp program on a musl target. I use cross to crosscompile. The exact error is below
I had a similar problem ( also glibc ) in the first library when i added to [lib] crate-type the value rlib( I have there only staticlib, i link those libraries statically ) to make integration tests to work ( solution from https://users.rust-lang.org/t/does-crate-type-has-effect-on-integration-test/76634 )
Now i don't have any tests, but a lot more libraries, in that open ssl vendored and some hacky tokio futures
futures = "0.3"
futures-executor = { version = "0.3", features = ["thread-pool"] }
libretranslate = { path = "lib-rs/libretranslate-rs" }
openssl = { version = '0.10', features = ["vendored"] }
i'm completly lost with this. Here is a readelf of the rust library ( it's 250Mb because it's debug build to include all info, be aware ):
http://pkgs-inkbox.duckdns.org:25560/misc/readelf.txt
Here is the repository with the code:
https://github.com/Szybet/Libretranslate-rs-to-cpp
Here is the cpp program i'm linking it against
https://github.com/Szybet/inkbox/tree/toreader
Any ideas? I'm completly lost