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

libSDL3.so not found when building with build-from-source feature #130

Open
AFCMS opened this issue Mar 8, 2025 · 0 comments
Open

libSDL3.so not found when building with build-from-source feature #130

AFCMS opened this issue Mar 8, 2025 · 0 comments

Comments

@AFCMS
Copy link

AFCMS commented Mar 8, 2025

Trying to run the game exemple in this repo: https://github.com/vhspace/sdl3-rs/blob/master/examples/demo_games/a02_woodeneye_008.rs

When using sdl3 with the build-from-source feature, running the executable output of cargo build --release throw the following error:

./target/release/program-name: error while loading shared libraries: libSDL3.so.0: cannot open shared object file: No such file or directory

If I install SDL3 from my system package manager then the executable works, but the goal of build-from-source is for cargo to build the lib itself, right?

The build-from-source-static works as expected.

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