ParadoxSpiral / libmpv-rs

A libmpv abstraction written in rust that's easy to use and provides the ability to read next to all video and audio codecs.
GNU Lesser General Public License v2.1
100 stars 36 forks source link

libmpv version issue after upgrading to mpv `0.35.0` #27

Closed sirno closed 2 years ago

sirno commented 2 years ago

Hi unfortunately libmpv stops working after upgrading mpv to version 0.35.0 on mac os using brew

Error: VersionMismatch { linked: 65644, loaded: 131072 }

My guess would be that this is related to the pregenerated bindings, but who knows...

sirno commented 2 years ago

The error was thrown by libmpv-rs based on the specified library version. Upgrading the bindings for libmpv 2.0 resolved the issue. #28

maulik9898 commented 1 year ago

I am getting this error while linking target/debug/mpv-rs: error while loading shared libraries: libmpv.so.2: cannot open shared object file: No such file or directory

sirno commented 1 year ago

@maulik9898 this is likely an unrelated issue. your error message indicates that the shared library cannot be found where it is looking for it.

maulik9898 commented 1 year ago

Yes, I was able to solve this by adding PATH to LD_LIBRARY_PATH.