-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load libmpv.so.1 #23
Comments
|
The installed version (from AUR):
and
The compiled version:
|
Yeah, the latest I guess the AUR package is marked out of date for a reason. I suggest you use the manually built binary. I did link |
In that case even the the already built one won't work as it still require the shared library |
I meant the prebuilt one from the releases page doesn't work, if you build it manually, it'll depend on |
Same issue here (starting from libmpv), I tried to build from source and getting
|
same problem, core dumped. Builded from source.
|
@Junker does |
|
Same problem with Debian testing, libmpv no more available. |
I'm not sure if my issue is on the same context here, but I'm reporting anyways. When I launch, it says "dyld[76289]: Library not loaded: /usr/local/opt/mpv/lib/libmpv.2.dylib |
It seems like libmpv-rs is a bit outdated and its last release was over 2 years ago. This issue can be fixed by building libmpv-rs from git. I tested by playing some music and it seems to work fine. Patch--- a/front-end/Cargo.toml
+++ b/front-end/Cargo.toml
@@ -10,7 +10,7 @@
tui = { version = "0.16", features = ["crossterm"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-libmpv = "2.0"
+libmpv = { git = "https://github.com/ParadoxSpiral/libmpv-rs.git" }
fetcher = { path = "../fetcher" }
lazy_static = "1.4.0"
config = { path = "../config" }
|
M1 Max
I couldn't figure out where the problem is coming from, looking at the open issues on the mpv github. |
I am on Gentoo,
|
I cannot build from source.
but
I tried
Not the exact same problem -- reports seem to be about finding libmpv with built binaries. But still about not finding Also
Applying the patch --- a/front-end/Cargo.toml
+++ b/front-end/Cargo.toml
@@ -10,7 +10,7 @@ crossterm = { version = "0.20", features = ["event-stream"] }
tui = { version = "0.16", features = ["crossterm"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-libmpv = { version = "2.0.1" }
+libmpv = { git = "https://github.com/ParadoxSpiral/libmpv-rs.git" }
fetcher = { path = "../fetcher" }
lazy_static = "1.4.0"
config = { path = "../config" } did not fix it for me. |
Error on run
RUST_BACKTRACE=full ytui-music run
outuputCreating a link to
libmpv.so.2
doesn't work.RUST_BACKTRACE=full ytui-music run
outuputThe text was updated successfully, but these errors were encountered: