I am building an application that uses libftd2xx.so on Fedora 8.

My build process is similar to the one outlined here:

Everything works fine except when I go to run my application, I get the following:

$src/openocd: error while loading shared libraries: libftd2xx.so.0: cannot open shared object file: No such file or directory


$ ls -l /usr/lib/libftd*
lrwxrwxrwx 1 root root 29 2007-12-19
23:30 /usr/lib/libftd2xx.so -> /usr/local/lib/libftd2xx.so.0

$ ls -l /usr/local/lib/libftd*
lrwxrwxrwx 1 root root 14 2007-12-19 23:27 /usr/local/lib/libftd2xx.so -> libftd2xx.so.0
-rwx------ 1 root root 319466 2007-12-19 22:22 /usr/local/lib/libftd2xx.so.0

Why can't my application find these library files ?