title: Fulfilling missing .so file in libftdi
body: <p>I am using ft232r library provided by ftdi for programming an LPC11C14 micro-controller through Linux Mint. To initialize the software, I need to run the following command: </p>
  
  <pre><code>./ft232r_prog --manufacturer Sunswift --product $(PROJECT_NAME) --invert_rts --invert_dtr
  </code></pre>
  
  <p>When I run the code, I get the following issue: </p>
  
  <pre><code>Error while loading shared libraries: libftdi.so.1: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>on running ldd ft232r_prog, I get: </p>
  
  <pre><code>linux-gate.so.1 =&gt;  (0xf77b8000)
  libusb-0.1.so.4 =&gt; /lib/i386-linux-gnu/libusb-0.1.so.4 (0xf7790000)
  libftdi.so.1 =&gt; not found
  libc.so.6 =&gt; /lib/i386-linux-gnu/libc.so.6 (0xf75e5000)
  /lib/ld-linux.so.2 (0xf77b9000)
  </code></pre>
  
  <p>The file <code>libftdi.so.1</code> is located in <code>/usr/lib/x86_64-linux-gnu</code>. Since the executable ft232r_prog is unable to find the .so file, I have tried the following: </p>
  
  <ol>
  <li>Updated the path environment variable to contain /usr/lib/x86_64-linux-gnu -- Failed</li>
  <li>Updated the $LD_LIBRARY_PATH environment variable to contain <code>/usr/lib/x86_64-linux-gnu</code> -- Failed</li>
  <li>Ran <code>ldconfig</code> in <code>/usr/lib/x86_64-linux-gnu</code> -- Failed</li>
  </ol>
  
  <p>This appears to be a common issue with including shared libraries. Any ideas on how I can resolve it?   </p>
  
  <p>Thanks</p>