title: Building open source library (liblo) for iPhone
body: <p>I've got an iPhone project using liblo (liblo.sourceforge.net). My project's been working fine in the simulator, but as soon as I went to build for the device, <code>ld</code> fails:</p>
  
  <pre>ld: library not found for -llo</pre>
  
  <p>I suspect that this is because I just ran <code>make install</code> when I downloaded liblo. I found a <a href="http://www.nabble.com/iPhone-Cross-Compile-td23653474.html" rel="nofollow noreferrer">thread</a> that suggested cross compiling by running <code>./configure --host=arm-apple-darwin</code> before <code>make install</code>, but that doesn't seem to have fixed the problem.</p>
  
  <pre><code>[/usr/local/lib]$ file liblo.dylib 
  liblo.dylib: Mach-O dynamically linked shared library i386
  </code></pre>
  
  <p>Is there a simple solution?</p>