Hello nishitha_a ,
Below is my advice:
1. Add "BBCLASSEXTEND = "native nativesdk"" to the end of related .bb file.
This can add library to SDK.
bitbake imx-image-multimedia -c populate_sdk
2. Add library to rootfs
the command can add library to rootfs.
bitbake imx-image-multimedia
You can try it, again.
If it can't reach your purpose, You can refer to the relevant materials of Yocto.
Have a nice day!
B.R,
Weidong