The usual place for library files on Fedora is /usr/lib. Perhaps the easiest way to fix this is to make a symbolic link to the file (as root) in a terminal:
<enter root password>
ln -s /usr/local/lib/<lib-file> /usr/lib/<lib-file>
replacing <lib-file> with the name of the library of course!
- this tells you the compile and configuration options for DirectFB including other ways to resolve this problem.