Skip to content
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

ALSA + FFMPEG compatibility issue #8714

Closed
ssfrr opened this issue May 19, 2024 · 4 comments
Closed

ALSA + FFMPEG compatibility issue #8714

ssfrr opened this issue May 19, 2024 · 4 comments

Comments

@ssfrr
Copy link
Contributor

ssfrr commented May 19, 2024

Users have been reporting some issues with installing PortAudio.jl, which I think are related to an update to FFMPEG that isn't reflected in the ALSA build.

alsa_plugins_jll loads libasound_module_pcm_a52.so, and that that library seems to be dependent on libavcodec.so.58, which it's not finding.

It looks like the latest version of FFMPEG_jll builds libavcodec.so.60, so maybe alsa_plugins_jll needs to be updated to match.

I'm pretty out of touch with how the binary build system works these days, is it just a matter of kicking off a new build for alsa_plugins_jll?

@giordano
Copy link
Member

I'm pretty out of touch with how the binary build system works these days, is it just a matter of kicking off a new build for alsa_plugins_jll?

Not just that, but the recipe must also specify appropriate compat bounds for the dependencies, otherwise you'll have the same problem later.

tp2750 added a commit to tp2750/Yggdrasil that referenced this issue Jun 7, 2024
@tp2750
Copy link
Contributor

tp2750 commented Jun 7, 2024

I'll like to help fix this.
Merge request #8863 makes alsa_plugin build again by setting a compat to the last version of FFMPEG that provides libasound_module_pcm_a52.so.

I also needed to restrict the architectures. It looks like it only works for the architectures supported by julia 1.0.

This might not be the cleanest solution, but it was what I could figure out.

@ViralBShah
Copy link
Member

Gave it a look and updated alsa to 1.2.12. I'm completely stumped by the alsa-plugins build trying to link to libcrypto.so.3.

@tp2750
Copy link
Contributor

tp2750 commented Sep 28, 2024

Thanks a lot @ViralBShah . It works for me now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants