rsoundio
rsoundio copied to clipboard
libsoundio.so.2 not found!
kazuna@TwilightTulip:/mnt/Data/GameDev/Applications/rsoundio_test$ cargo run
Compiling rsoundio_test v0.1.0 (/mnt/Data/GameDev/Applications/rsoundio_test)
Finished dev [unoptimized + debuginfo] target(s) in 4.42s
Running target/debug/rsoundio_test
target/debug/rsoundio_test: error while loading shared libraries: libsoundio.so.2: cannot open shared object file: No such file or directory
I have compiled and installed libsoundio to /usr/local/lib/ and I get this error when trying to run it. Any idea what I am doing wrong?
Have you tried to set the LD_LIBRARY_PATH?
Example:
$ LD_LIBRARY_PATH=/usr/local/lib/ cargo run