title: "ld: library not found for -lXYZ" means what? What are the different possibilites?
body: <p>What are the different possibilities when this error can occur?
  What are the things one should look out for, in order to get rid of this?</p>
  
  <p>What if XYZ is an static library directly added to project?</p>