I'm writing code that uses the Apache Thrift RPC library. (This is quite an ambitious project for someone as ignorant as I am about Linux.)
I managed to download, build, and install thrift. I managed to compile and link my code against the thrift headers. (Itself, a significant accomplishment for me.)
When I run my code, however, I get an error "Appname: error while loading shared libraries: libthrift-0.9.0.so: cannot open shared object file: No such file or directory"
I have confirmed taht libthrift-0.9.0.so resides in /usr/local/lib/ on my R-Pi.
I know absolutely nothing about how Linux locates and loads shared libraries. What do I need to do to allow my code to load this library?