Closed twilson90 closed 1 year ago
Getting this same issue. libasound2-dev
is installed.
Has anyone solved this?
Has anyone solved this?
It can't be solved for you. You need a static versions of the libraries for that to work. If your distro or package-manager doesn't have them (most don't have them) then you need to build them yourself if you want it - which is LOT of work.
mpv-build only does that for libass and ffmpeg (build static libraries) because it uses the newest version of these libs, instead of the older versions from your package manager, and it's a sort of a hack.
mpv-build can't do that for you also for all the other packages which mpv needs to link with.
The "do it yourself" method is not really practical here, so your only real option is to use a distro which can install static versions of all the libraries which mpv needs.
Thanks for clarifying. Which distro would you recommend for building all the dependencies then?
Which distro would you recommend for building all the dependencies then?
I don't recommend and I don't know.
If you have good reasons to need a static version of (lib)mpv with all the libraries, then you should know what you're doing. We can't help you with that.
As discussed in the comments, this is not a bug.
At the end of waf build I encounter:
And depending on my ffmpeg enabled libraries, I get the same error referencing a different library. It seems like it can't find any of the compiled libs.
Disabling static-build works.
I'm using Ubuntu 20.04 on a virtual machine (WSL2)
mpv_options:
ffmpeg_options:
Log: