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

Why can't I run the binary instead of cargo run --release? #5

Open
Tameflame opened this issue Mar 15, 2024 · 0 comments
Open

Why can't I run the binary instead of cargo run --release? #5

Tameflame opened this issue Mar 15, 2024 · 0 comments

Comments

@Tameflame
Copy link

Running cargo build --release then trying to run ./target/release/rust-background-removal gives the following error:

./target/release/rust-background-removal: error while loading shared libraries: libonnxruntime.so.1.16.0: cannot open shared object file: No such file or directory

I'm not sure why. I also notice that running cargo run --release causes additional libraries to compile before running, how does that happen? I don't see anything in the code that would do that

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