title: Extracting text from pdf using objective-c(libz.dylib)
body: <p>I have imported the pdf.h file in my view controller class and tried calling </p>
  
  <pre><code>NSString *outPutString = convertPDF(pathToPdfFile);
  </code></pre>
  
  <p>but while building it gives me <strong>linker error</strong>:</p>
  
  <p><code>_convertPDF" refrenced from: -[ScriptViewController searchBarSearchButtonClicked:] in ScriptViewController.o Symbol(s) not found</code></p>
  
  <p>I have also included libz.dylib in my project.</p>
  
  <p>What am I doing wrong? </p>
  
  <p>Is there any step to be followed before building the project which includes c code?</p>
  
  <p><strong>Also one more question:</strong> </p>
  
  <p>Will this search algorithm work on any PDF(simple and formatted pdfs).</p>