python-mpv
python-mpv copied to clipboard
Yocto libmpv.so not found
I have build mpv on yocto, and it's working totataly fine. But when I am trying to use python-mpv i am getting exception. Issue is mostly because of libmpv.so not found. How to get libmpv.so for yocto? P.S: I am using the yocto for Raspberrypi3b+
python-mpv uses ctypes.util.find_library from the python standard lib to look for libmpv. Make sure your LD_LIBRARY_PATH is set up correctly, and that libmpv.so is installed in the correct location.
@jaseg libmpv.so is not present in the build image. When i tried to installed it using debian package for arm64,i got lot of other packages dependency issue. Is there any bitbake recipie for libmpv.so available or any other help regarding this?
Oh, I see. Building it using yocto should be possible, but will take some effort. A quick google search yielded some existing bitbake recipes for mpv (1, 2), that you may be able to base your work off.
@jaseg These are also for building mpv, they haven't included the libmp.so in there build. I think libmpv.so build is not included on the mention link.
Yes, you'll have to modify those to your needs and turn on building libmpv.