I'm developing a game using FMOD sound library. Specifically fmodex 4.10.01. I'm using Code::Blocks compiler. Everything compiles fine, and when I click "Run" in the compiler it will even run just fine. But if I attempt to run it through the terminal, I get an error saying it could not find the .so.
Here is the specific error:
error while loading shared libraries: ../../../../../usr/lib/libfmodex.so: cannot open shared object file: No such file or directory
libfmodex.so is defiantly in /usr/lib. However I never officially installed fmod, I just downloaded the API and did a "gksu nautilus" and copied the libs and includes to /usr.
I just don't get why it will run through C::B but not by its self.