[yocto] dev package non-sym link
Rail Shafigulin
rail at esenciatech.com
Thu Nov 30 13:46:06 PST 2017
> Check whether the situation is the same in .../image/usr/lib. If so, then
> the upstream is installing .so files incorrectly and you need to figure out
> what it does and how to fix it so that it symlinks .so instead of copying or
> hardlinking it.
>
> Alex
Thanks for the reply. I changed do_install of my recipe
do_install () {
install -d ${D}${libdir}/
install -m 0755 ${S}/libAnokiWave.so.1.0.1 ${D}${libdir}
}
Now the error is gone and there are no warnings but if I check
/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/anokiwavelib/1.0+gitAUTOINC+16df62468c-r0/package/usr/lib/
all I see is libAnokiWave.so.1.0.1
If I change my install task to
do_install () {
install -d ${D}${libdir}/
install -m 0755 ${S}/libAnokiWave.so.1.0.1 ${D}${libdir}
ln -s ${D}${libdir}/libAnokiWave.so.1.0.1 ${D}${libdir}/libAnokiwave.so.1
ln -s ${D}${libdir}/libAnokiWave.so.1 ${D}${libdir}/libAnokiwave.so
}
I get the following warnings
WARNING: anokiwavelib-1.0+gitAUTOINC+16df62468c-r0 do_package_qa: QA
Issue: Symlink /usr/lib/libAnokiwave.so.1 in anokiwavelib points to
TMPDIR [symlink-to-sysroot]
WARNING: anokiwavelib-1.0+gitAUTOINC+16df62468c-r0 do_package_qa: QA
Issue: Symlink /usr/lib/libAnokiwave.so in anokiwavelib-dev points to
TMPDIR [symlink-to-sysroot]
I'm not sure how to fix these issues. The links, libAnokiWave.so.1 and
libAnokiWave.so, must exist but right now they don't point to the
right location or doen't exist at all.
Would appreciate any help with this.
Rail Shafigulin
Software Engineer
Esencia Technologies
--
*ESENCIA TECHNOLOGIES, INC.*3945 Freedom Circle, Suite #360,
Santa Clara CA 95054
________________________________________________________
Phone: +1 408 736 8284 Fax: +1 408 519 3475
http://www.esenciatech.com | http://www.lnttechservices.com
More information about the yocto
mailing list