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

Does not work in Julia 1.10 on Ubuntu 22.04 #80

Open
adamltaylor opened this issue May 19, 2024 · 6 comments
Open

Does not work in Julia 1.10 on Ubuntu 22.04 #80

adamltaylor opened this issue May 19, 2024 · 6 comments

Comments

@adamltaylor
Copy link

Super-helpful package, thank you for making it publicly available!

But just FYI, I tried to add this package to Julia 1.10.3 in Ubuntu 22.04.4. The precompilation step failed with this error:

ERROR: LoadError: The following 1 direct dependency failed to precompile:

SimpleDirectMediaLayer [98e33af6-2ee5-5afd-9e75-cbc738b767c4]

Failed to precompile SimpleDirectMediaLayer [98e33af6-2ee5-5afd-9e75-cbc738b767c4] to "/home/taylora/.julia/compiled/v1.10/SimpleDirectMediaLayer/jl_Te1Mlk".
ERROR: LoadError: InitError: could not load library "/home/taylora/.julia/artifacts/d587f48a6815c72dec4b083bf297caec7a8e3f4b/lib/alsa-lib/libasound_module_pcm_a52.so"
libavresample.so.4: cannot open shared object file: No such file or directory
@Joh11
Copy link

Joh11 commented May 21, 2024

Hi,

I have the same issue, with Linux Mint 21.3 and Julia 1.10.3.

One temporary fix I found is to downgrade to the last version not using the jll packages:

add SimpleDirectMediaLayer@0.1.1

@adamltaylor
Copy link
Author

Ahh, ok, thanks for that. Partly for this issue, partly b/c of a seeming SDL/Cairo conflict, I had simply copied the main .jl files out of both those packages, modified them slightly, and then installed the system SDL2 and Cairo using apt. Non-ideal in several ways, but it seems to be working at the moment.

@georgeglidden
Copy link

I'm also having this issue, worked around it by installing FFMPEG.jl before installing SimpleDirectMediaLayer.

@Kyjor
Copy link
Contributor

Kyjor commented Jul 19, 2024

This pr may be related JuliaPackaging/Yggdrasil#8863

@Kyjor
Copy link
Contributor

Kyjor commented Jul 19, 2024

Hey @adamltaylor , can you check now? I created a pr for a related package, and as a side effect, @giordano raised this pr: JuliaRegistries/General#111347 to fix that issue, as it was blocking my pr. It looks like it has fixed it for this as well. I think we should be able to close this issue now. I ran all the tests on my fork and the ubuntu ones are passing now. They were all failing before this pr.
画像_2024-07-19_123112621

@adamltaylor
Copy link
Author

At work now, will test this evening or this weekend. Thank you @Kyjor for your efforts!

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

No branches or pull requests

4 participants