By Darryl Gove on Mar 02, 2009
ld.so.1: prog: fatal: relocation error: file ./libfoo.so.1: symbol bar: referenced symbol not found
libfoo.so.1, and that library has an unresolved dependency on the symbol
bar. You can check for this problem using:
$ ldd -d prog
As outlined in the linker guide
Don't, what ever you do, solve it using LD_LIBRARY_PATH!