SUMMARY = "Media Library"
SECTION = "examples"
LICENSE = "MIT"
BB_STRICT_CHECKSUM = "0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "your_source_files"
S = "${WORKDIR}"
VER = "1"
HASHSTYLE = "gnu"
do_compile () {
${CC} -fPIC -shared -Wl,--hash-style=${HASHSTYLE} -o libMediaLibrary.so.${VER} -Wl,-soname,libMediaLibrary.so.${VER} source_files
}
do_install() {
install -Dm755 ${B}/libMediaLibrary.so.${VER} ${D}${libdir}/libMediaLibrary.so.${VER}
ln -sf libMediaLibrary.so.${VER} ${D}${libdir}/libMediaLibrary.so
}
You can compare your code with the code mentioned above in the respective recipe file and try running the bitbake. The bold-italic terms are to be modified according to your library and source files.
The error is because no soft link is available.
Please let me know the status. :smileyhappy: