Just installed TokyoCabinet on Fedora. Installation went like a breeze. Except..when running the Java app that uses TC, it complained about an UnsatisfiedLinkError:

libtokyocabinet.so.9: cannot open shared object file: No such file or directory – /usr/lib

Thanks to http://jibbajabba.info/ who in turn credits http://www.machinelake.com/2009/03/22/nerding-out-with-ruby-tokyo-cabinet-hpricot-twitter-sinatra-haml-passenger/

The answer is simple:

ldconfig /usr/lib

or

ldconfig /usr/local/lib

depending on where you installed TC.