I'd say it's pretty strange that the vm-sound-ALSA needs almost nothing... From the code I'd think It'd need to bind against asound [1], as the squeak vm says in� � � � libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f3c507ba000)On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing.Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get:There doesn't seem to be anything clearly missing.Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get:Thanks. When trying to load the ALSA sound, stderr just reports "could not find module vm-sound-ALSA".
Doing an ldd on the vm-sound-ALSA.so included with the Pharo VM, I get:
������� linux-gate.so.1 =>� (0xf76e9000)
������� libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7515000)
������� /lib/ld-linux.so.2 (0xf76ea000)
������� linux-vdso.so.1 =>� (0x00007fffbdbfe000)
������� libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f3c507ba000)
������� libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3c503f3000)
������� libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3c500ee000)
������� libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3c4feea000)
������� libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3c4fccd000)
������� librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3c4fac4000)
������� /lib64/ld-linux-x86-64.so.2 (0x00007f3c50cca000)
������� linux-gate.so.1 =>� (0xf7721000)
������� libpulse-simple.so.0 => not found
������� libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf754f000)
������� /lib/ld-linux.so.2 (0xf7722000)
Weirdly enough, doing an ldd on the vm-sound-null.so included with Pharo, I get:
������� linux-gate.so.1 =>� (0xf774c000)
������� libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf757c000)
������� /lib/ld-linux.so.2 (0xf774d000)which is the exact same thing as for vm-sound-ALSA.so. So, I would imagine that if the one worked than the other would.Cheers,Jeff
On Wed, Sep 4, 2013 at 11:48 AM, Guillermo Polito <guillermopolito@gmail.com> wrote:
Hi!If the modules are not printed, that probably means that they cannot be loaded :). (Bah, I assume that by looking at the vm code that does that [1]).So, first thing you can do is to see the output of stderr. Second, you can try to do an ldd [2] to the vm-sound-ALSA.so library to check the dependencies and try to get them installed via ap-tget.Keep us informed :)Cheers,GuilleOn Wed, Sep 4, 2013 at 11:32 AM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Sep 4, 2013, at 11:22 AM, J.F. Rick <self@je77.com> wrote:Hmm. Did this get sent or was it filtered? It doesn't seem to be in my inbox for the pharo-dev list.It arrived��Cheers,JeffOn Tue, Sep 3, 2013 at 5:03 PM, J.F. Rick <self@je77.com> wrote:I'm using Pharo 2.0 on Ubuntu 13.10 and I can't seem to get sound working. Getting sound to work on Linux seems to be a common problem. While I've checked the archive for solutions, none of them work for me. I've investigated a bit and here's what I've found:Inside of the /usr/lib/pharo-vm directory, I see the following:vm-sound-ALSA.sovm-sound-null.sovm-sound-pulse.so (I added that based on an archive post that this would work)When I do "pharo -vm-sound-null pharo.image", it works correctly.When I do "pharo -vm-sound-ALSA pharo.image", it gives me an error that "could not find module vm-sound-ALSA".When I do "pharo-help", I find that the only sound driver available is "vm-sound-null", though the others are clearly there in the directory. Is there anything I can do to make the VM acknowledge that the other files are there?Cheers,Jeff--
Jochen "Jeff" Rick, Ph.D.
http://www.je77.com/
Skype ID: jochenrick--
Jochen "Jeff" Rick, Ph.D.
http://www.je77.com/
Skype ID: jochenrick
--
Jochen "Jeff" Rick, Ph.D.
http://www.je77.com/
Skype ID: jochenrick