AnsweredAssumed Answered

Recipe appended does not create .so

Question asked by Banu prakash on Apr 4, 2017
Latest reply on Apr 4, 2017 by Banu prakash

Adding shared library in recipes .so is not link in rootfs-usr/lib/

 

DESCRIPTION = "simple program"
PR = "r0"
LICENSE = "GPLv2"    
S = "${WORKDIR}"

 

LIC_FILES_CHKSUM += "file://libMSO.so.1.2;md5=49b4ca37bfccc1a103e0ea32073358e6 \
            file://libMSOComm.so.1.2;md5=69705cfc6199ebd9ff65571a733d650c"

 

SRC_URI += "file://libMSO.so.1.2 \
        file://libMSOComm.so.1.2"

 

do_install() {
             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
         ln -sf libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so.1
         ln -sf libMSOComm.so.1.2 ${D}${libdir}/libMSOComm.so
}
    

Directory of rootfs/usr/bin - there is no libMSOComm.so  link.

lrwxrwxrwx 1 banuprakash       17 Apr  4 15:12 libMSOComm.so.1 -> libMSOComm.so.1.2
-rwxr-xr-x 1 banuprakash    21096 Apr  4 15:10 libMSOComm.so.1.2

Outcomes