title: Symbols not found in libusb
body: <p>Note that I am new to iOS (actually, iDevices) internals.
  I'm trying to compile <a href="https://github.com/libimobiledevice/libirecovery" rel="nofollow">iRecovery</a>,
  a tool used to communicate with iBoot, iOS's bootloader. Sadly... I'm getting errors about libusb while compiling :</p>
  
  <pre><code>./configure: line 15323: syntax error near unexpected token `libusb,'
  ./configure: line 15323: `PKG_CHECK_MODULES(libusb, libusb-1.0 &gt;= 1.0.3)'
  </code></pre>
  
  <p>libusb <em>is</em> installed : </p>
  
  <pre><code>$&gt; pkg-config --libs libusb
  -L/opt/local/lib -lusb
  $&gt; pkg-config --libs libusb-1.0
  -L/opt/local/lib -lusb-1.0 
  </code></pre>
  
  <p>I tried to comment out the line that checks for libusb, but then I get a bunch of not found symbols, such as : </p>
  
  <pre><code>"_libusb_set_configuration", referenced from:
   _irecv_open_with_ecid in libirecovery_la-libirecovery.o
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>My simple question is... WHY ?!
  Thanks for any help...</p>