rsoundio icon indicating copy to clipboard operation
rsoundio copied to clipboard

libsoundio.so.2 not found!

Open Chatto opened this issue 5 years ago • 1 comments

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?

Chatto avatar Feb 14 '20 16:02 Chatto

Have you tried to set the LD_LIBRARY_PATH?

Example:

$ LD_LIBRARY_PATH=/usr/local/lib/ cargo run

klingtnet avatar Feb 17 '20 09:02 klingtnet