title: opt : symbol lookup error at llvm last version
body: <p>I re-install <strong>llvm</strong> in my pc to get the <strong>newer version</strong> and i follow again this tutorial <a href="http://llvm.org/docs/WritingAnLLVMPass.html" rel="nofollow">WritingAnLLVMPass</a>  .
  I had already an older pass from the previous version of llvm and i add this in the newer version folder.
  Until the step of <strong>make</strong> all went fine.When i try to use opt command to load my Pass i get this <strong>symbol lookup error</strong> </p>
  
  <pre><code>opt: symbol lookup error: ../../../Release+Asserts/lib/PassRAF.so: undefined symbol: _ZNK4llvm5Value5printERNS_11raw_ostreamEb
  </code></pre>
  
  <p>in  <code>errs ()</code> instruction in my pass(i was printing my IR code with this line)</p>
  
  <pre><code>errs() &lt;&lt; *I &lt;&lt; "\n";
  </code></pre>
  
  <p>if i comment this line i get again symbol lookup error in another line for another reason.</p>
  
  <p>i didnt use cmake to my build llvm because i prefer use autotools and i follow this way <a href="http://llvm.org/docs/BuildingLLVMWithAutotools.html" rel="nofollow">Building LLVM with autotools.</a></p>
  
  <p>any idea what happend with opt in the last version? Is there something i forgot to do ?</p>