title: bitbake do_rootfs install fails with shared library symlink in bbappend
body: <p>I am trying to add a shared library package to a Yocto Krogoth image from a custom recipe that is dependent on <code>libudev.so.0</code> but the <em>openembedded-core</em> layer's <code>eudev</code> <a href="http://layers.openembedded.org/layerindex/recipe/47683/" rel="nofollow noreferrer">recipe</a> only provides <code>libudev.so.1.6.3</code> and a <code>libudev.so.1</code> symlink: 
    <code>libudev.so.1 -&gt; libudev.so.1.6.3</code></p>
  
  <p>I have added a <code>eudev_%.bbappend</code> <em>recipes_core</em> recipe that creates the symlink</p>
  
  <pre><code>do_install_append() {
          ln -srf ${D}${base_libdir}/libudev.so.1 ${D}${base_libdir}/libudev.so.0
  }
  </code></pre>
  
  <p>and I can confirm the <code>libudev.so.0</code> file is added to the <em>libudev</em> package in </p>
  
  <pre><code>tmp/work/HOST/eudev/3.1.5-r0/image/lib/libudev.so.0 
  tmp/work/HOST/eudev/3.1.5-r0/package/lib/libudev.so.0 
  tmp/work/HOST/eudev/3.1.5-r0/packages-split/lib/libudev.so.0 
  tmp/work/HOST/eudev/3.1.5-r0/sysroot-destdir/lib/libudev.so.0
  </code></pre>
  
  <p>and installed to the image's <code>tmp/sysroots/MACHINE/lib/libudev.so.0</code> directory when building the image and is present in the resultant <code>tmp/deploy/images/MACHINE/IMAGENAME.tar.bz2</code> rootfs archive. The issue is that with the above in place I cannot add my shared library package to the image as it results in the following error:</p>
  
  <pre><code>do_rootfs: ...
  Computing transaction...error: Can't install MYRECIPE@HOST: no package provides libudev.so.0
  </code></pre>
  
  <p>The custom recipe does have <code>RDEPENDS_${PN} = libudev</code> set. </p>
  
  <p>Why is the <em>do_rootfs</em> error generated as the installed <code>libudev</code> package clearly does provide the <code>libudev.so.0</code> library? Bitbaking the custom recipe independently has no issue, but that obviously does not attempt to install the resultant package into an image.</p>