title: Yocto: package requires shared library but no providers found in RDEPENDS_?
body: <p>I have designed an application composed from a main program <code>core</code> who calls a shared library <code>dio.so</code>, these are the 2 recipes I wrote:</p>
  <p>1- core.bb:</p>
  <pre><code>#
  # This file was derived from the 'Hello World!' example recipe in the
  # Yocto Project Development Manual. 
  #
  
  SUMMARY = &quot;Core &quot;
  SECTION = &quot;examples&quot;
  LICENSE = &quot;MIT&quot;
  LIC_FILES_CHKSUM = &quot;file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302&quot;
  
  SRC_URI = &quot;file://* &quot;
        
  S = &quot;${WORKDIR}/sources&quot;
  
  do_compile() {
      oe_runmake STAGING_PATH=${STAGING_DIR}
  }
  
  do_install() {
      oe_runmake install IMAGE_PATH=${D}
  }
  
  DEPENDS += &quot;libdio&quot;
  RDEPENDS_${PN} = &quot;libdio&quot;
  </code></pre>
  <p>2- dio.bb:</p>
  <pre><code>#
  # This file was derived from the 'Hello World!' example recipe in the
  # Yocto Project Development Manual. 
  #
  
  SUMMARY = &quot;DIO&quot;
  SECTION = &quot;examples&quot;
  LICENSE = &quot;MIT&quot;
  LIC_FILES_CHKSUM = &quot;file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302&quot;
  PN = &quot;dio&quot;
  
  SRC_URI = &quot;file://* &quot;
        
  S = &quot;${WORKDIR}/sources&quot;
  
  do_compile() {
      oe_runmake
  }
  
  do_install() {
      oe_runmake install IMAGE_PATH=${D} STAGING_PATH=${STAGING_DIR}
  }
  
  PROVIDES = &quot;libdio&quot;
  RPROVIDES_${PN} = &quot;libdio&quot;
  </code></pre>
  <p><code>do_compile</code>, <code>do_install</code> and do_package`` are succesful for both of the recipes, but the problem is on <code>do_package_qa</code>for core, it throws the following error:</p>
  <pre><code>bitbake -c do_package_qa core
  core-1.0-r0 do_package_qa: QA Issue: /usr/bin/core contained in package core requires libdio.so()(64bit), but no providers found in RDEPENDS_core? [file-rdeps]
  </code></pre>
  <p>As you can see I added the following to handle the dependency but it seems that something is missing, changing <code>libdio</code> with <code>dio</code> didn't solve the problem as well, any hint or Idea on fixing the problem ?</p>
  <pre><code>#dio.bb
  PROVIDES = &quot;libdio&quot;
  RPROVIDES_${PN} = &quot;libdio&quot;
  
  #core.bb
  DEPENDS += &quot;libdio&quot;
  RDEPENDS_${PN} = &quot;libdio&quot;
  </code></pre>