title: Could I supply linux binaries of my program with shared libraries of my system?
body: <p>As I've haven't found a proper way to link program (writteln in c++) statically if I'm going to use plug-ins in it (linker warns that dlopen require glibc shared libraries at runtime). Also I'm not able not build dynamically-linked binaries for most of linux distibutions currently, so I could either distribute source only or try to distribute binaries along with shared libraries found in my system by <code>ldd</code>, for example:</p>
  
  <pre><code>libc.so.6
  libdl.so.2
  libgcc_s.so.1
  libm.so.6
  libstdc++.so.6
  </code></pre>
  
  <p>since I suppose that it is more easy for user to be asked to add to <code>.bash_profile</code></p>
  
  <pre><code>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:&lt;path to program directory&gt;
  </code></pre>
  
  <p>than to compile program and plugins from scratch.</p>
  
  <p>So, first of all, am I right that I could re-distribute those libraries freely because they are licensed under GNU LGPL? </p>
  
  <p>And does it makes any sense to do it, will the program run in most linux distributions and its versions correctly?</p>