[yocto] unable to create softlink for precompilied libraries

Fabien Lahoudere fabien.lahoudere at collabora.co.uk
Thu Apr 6 01:37:28 PDT 2017


On Thu, 2017-04-06 at 08:08 +0000, chandrasekhar c wrote:
> Hi, 
> I have a third party precompilied libraries. I erota a recipe to copy to rootfs and create  soft
> links for the same. After doing bitbake it didnt throw any errors, but when I check th rootfs it
> didn't create any link file.
> Below is my recipe
>  
> do_install_append() {
>          install -d ${D}${libdir}/
>          install -m 0777 ${S}/libMSO.so.1.2 ${D}${libdir}/libMSO.so.1.2
>          ln -sf libMSO.so.1.2 ${D}${libdir}/libMSO.so
>          install -m 0777 ${S}/libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so.1.2 //This is success
>          ln -sf libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so.1 //This is success
>          ln -sf libMSOComm.so.1 ${D}${libdir}/libMSOComm.so //This is not happening
> }
> Can any one tell me a solution for this.

Did you ship it with FILES_${PN} += " ${libdir}/libMSOComm.so " ?


>  
> Thanks and Regards,
> Chandrasekhar



More information about the yocto mailing list