-
Notifications
You must be signed in to change notification settings - Fork 1
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
'Sound' package fails to install properly #29
Comments
Sorry! I just added Sound package on a Ubuntu server:
and it installed fine with Julia 1.10.2, except for some warning messages:
probably because this is a server without a sound card. I don't have any Linux boxes with sound cards in them. Sound.jl is just a layer on top of PortAudio so please try |
Also please look at the advice given here: |
in the snippet of screen output from Julia REPL at the very top one case see:
, i.e. PortAudio is added automatically. |
I have just read it. I do not think what is said in the text pointed to by link is relevant. If to very much shorten my report, it would be: "for some reason libavcodec.so.58 instead of readily available libavcodec.so.60 is wanted". What does this particular problem (58 <-> 60) has to do with what's written in https://jefffessler.github.io/Sound.jl/dev/#PortAudio-on-Linux ? |
I was trying to be helpful. I will try one last time. I think the |
If the 'Sound' package is meant to be cross-platform, why do you build it on top of package ('PortAudio') which doesn't work under Linux ? Looking at https://jefffessler.github.io/Sound.jl/stable/ I do not see a list of supported/unsupported OSes. Could you please update the page to reflect what OSes are supported ? |
@sergstesh , PortAudio depends on alsa_plugins, which needs updating. |
It works for me now after the merge of JuliaPackaging/Yggdrasil#9105. |
Thanks @tp2750. |
This works for me on Ubuntu 24.04 with a fresh julia 1.10.5 in an empty project (picking "pulse" as device):
I'm not an expert on the I was a bit surprised by this fall-out. My understanding was that the artefact system in julia would isolate us from depending on operating system libraries. The compilation process still gives some errors, but at least the bindings to Pulse Audio works on my system
I would be great if @sergstesh could also confirm that it works for them. |
On self-built julia-1.10.5:
after removing ~/.julia and creating empty 'test_Sound' directory I'm getting this:
After that typing in 'using Sound' produces no messages, so possibly 'Sound' package at least somehow works - don't have at the moment time to try something real using the package. |
Ok, then I will close, but of course reopen if the issue persists. |
I am trying to install 'Sound' package using self-built julia-1.10.2 and the installation fails.
Output of 'uname -a':
Linux slaptop 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux
.
Julia was downloaded from https://github.com/JuliaLang/julia/releases/download/v1.10.2/julia-1.10.2-full.tar.gz , unpacked the usual way, and was built using
nice -n 19 make test 1>make_test.log 2>&1
command line.
Then I made sure that ~/.julia directory doesn't exist and after invoking Julia the usual way (no command line arguments) I tried to install "Sound" package the usual way:
.
Installation process ended with the following messages:
.
If I exit REPL using the exit() function and try again to install 'Sound', I'm getting the following screen output:
.
However, trying to use the 'Sound' package produces the following:
.
In the above long screen output the first actual error message is:
.
Using 'find' command I see:
, .i.e. 'libavcodec.so.60' file exists, but for some reason instead of loading the file which exists 'libasound_module_pcm_a52.so' DLL tries to load the non-existing 'libavcodec.so.58' file - probably en error in dependencies.
The text was updated successfully, but these errors were encountered: