title: Yocto recipe to install shared libraries dependency issues
body: <p>I have a Yocto recipe that compiles dynamically linked shared libraries that should be added to the rootfs. Compiling and adding them to rootfs works fine, but QA packaging warnings are resulted.</p>
  <pre><code>S = &quot;${WORKDIR}/git&quot;
  
  do_compile () {
      make
  }
  
  do_install () {
      install -m 0755 -d ${D}${libdir}
      oe_libinstall -so libA ${D}${libdir}
      oe_libinstall -so libB ${D}${libdir}
      oe_libinstall -so libC ${D}${libdir}
  }
  
  INSANE_SKIP_${PN} = &quot;ldflags&quot;
  # RDEPENDS_${PN} = &quot;libB${SOLIBS}&quot;
  # RPROVIDES_${PN} = &quot;libB${SOLIBS}&quot;
  
  # FILES_${PN} = &quot;${libdir}/lib*${SOLIBS}&quot;
  # INHIBIT_PACKAGE_DEBUG_SPLIT = &quot;1&quot;
  # INHIBIT_PACKAGE_STRIP = &quot;1&quot;
  </code></pre>
  <p>The warning is the following:</p>
  <pre><code>WARNING: package do_package_qa: QA Issue: /usr/lib/libC.so.1.0.0 contained in package package requires libB.so, but no providers found in RDEPENDS_package? [file-rdeps]
  </code></pre>
  <p>The commented <code>RDEPENDS_${PN} = &quot;libB${SOLIBS}&quot;</code> doesn't do anything in any way I tried so far.</p>
  <p>How can I solve this problem? I don't want to add <code>INSANE_SKIP_${PN} += &quot;file-rdeps&quot;</code>, I want to resolve the dependency problem.</p>