linkage errors

Dear developers,

I’m trying to build a clang client, but getting linkage errors.
From this (obsolete) page http://llvm.org/docs/UsingLibraries.html I got to http://llvm.org/docs/CommandGuide/html/llvm-config.html, but as far as I understand it regards only the LLVM libs. How can I determine clang libs dependencies?

Thanks,