sudipghimire533 / ytui-music

Youtube client in terminal for music ( lightweight youtube client )
GNU General Public License v2.0
467 stars 19 forks source link

Can't run the binary #27

Open jaysuskenway opened 1 year ago

jaysuskenway commented 1 year ago

Hello, I am using EndeavourOS Arch Linux with i3. I followed the instructions to build from source, I also have the dependencies youtube-dl (installed with official instructions, not using package manager), mpv, but when I try to run it, I get this error:

thread 'main' panicked at 'called Result::unwrap() on an Err value: VersionMismatch { linked: 65644, loaded: 131072 }', front-end/src/ui/utils.rs:496:38 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace [1] 9273 IOT instruction (core dumped) ./ytui_music run

If I add sudo before the same command (sudo ./ytui_music run), I get this:

Ytui was unable to find the audio directory.You can try re-run by setting YTUI_MUSIC_DIR variable or downloading the template config file.

I still have the binary in the Downloads folder in /target/release/ Can anyone help, please?

abhaysp95 commented 1 year ago

It's problem with mpv dependency version mismatch. See: https://github.com/ParadoxSpiral/libmpv-rs/issues/5