I have a C++ application that I inherited, which consists of:
Try to use ldd + your filename, this will list the libs.
ldd