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.so vm-sound-null.so vm-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
Hmm. Did this get sent or was it filtered? It doesn't seem to be in my inbox for the pharo-dev list. Cheers, Jeff On 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.so vm-sound-null.so vm-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
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,
Jeff
On 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.so vm-sound-null.so vm-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
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, Guille [1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd On 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,
Jeff
On 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.so vm-sound-null.so vm-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
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) Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get: 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) There doesn't seem to be anything clearly missing. Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get: 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) I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing. 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, Guille
[1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd
On 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,
Jeff
On 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.so vm-sound-null.so vm-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
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) [1] https://github.com/pharo-project/pharovm/blob/master/platforms/unix/vm-sound... On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
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) Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get: 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) There doesn't seem to be anything clearly missing.
Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get: 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)
I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing.
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, Guille
[1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd
On 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,
Jeff
On 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.so vm-sound-null.so vm-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
Indeed. Yet the Squeak version does not load either. Cheers, Jeff On Wed, Sep 4, 2013 at 12:49 PM, Guillermo Polito <guillermopolito@gmail.com
wrote:
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)
[1] https://github.com/pharo-project/pharovm/blob/master/platforms/unix/vm-sound...
On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
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) Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get: 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) There doesn't seem to be anything clearly missing.
Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get: 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)
I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing.
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, Guille
[1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd
On 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,
Jeff
On 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.so vm-sound-null.so vm-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
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
Do you have libasound installed for i386? cause the one that outputs ldd looks like in folder for x86_64 On Wed, Sep 4, 2013 at 1:06 PM, J.F. Rick <self@je77.com> wrote:
Indeed. Yet the Squeak version does not load either.
Cheers,
Jeff
On Wed, Sep 4, 2013 at 12:49 PM, Guillermo Polito < guillermopolito@gmail.com> wrote:
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)
[1] https://github.com/pharo-project/pharovm/blob/master/platforms/unix/vm-sound...
On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
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) Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get: 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) There doesn't seem to be anything clearly missing.
Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get: 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)
I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing.
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, Guille
[1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd
On 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,
Jeff
On 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.so vm-sound-null.so vm-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
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
Well. I'm not that familiar with these C dependency things. It seems like the i386 ones were not installed. I did "sudo apt-get install libasound2:i386" and "sudo apt-get install libasound2-dev:i386" and "sudo apt-get install libasound2-plugins:i386" to install it. While that seems to have worked to install it, ldd still reports the same dependencies for the *.so files. How do I get it to point to the i386 version? Cheers, Jeff On Wed, Sep 4, 2013 at 1:41 PM, Guillermo Polito <guillermopolito@gmail.com>wrote:
Do you have libasound installed for i386? cause the one that outputs ldd looks like in folder for x86_64
On Wed, Sep 4, 2013 at 1:06 PM, J.F. Rick <self@je77.com> wrote:
Indeed. Yet the Squeak version does not load either.
Cheers,
Jeff
On Wed, Sep 4, 2013 at 12:49 PM, Guillermo Polito < guillermopolito@gmail.com> wrote:
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)
[1] https://github.com/pharo-project/pharovm/blob/master/platforms/unix/vm-sound...
On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
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) Doing an ldd on the vm-sound-ALSA.so included with the Squeak VM, I get: 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) There doesn't seem to be anything clearly missing.
Doing an ldd on the vm-sound-pulse.so included with the Squeak VM, I get: 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)
I did try to install the libpulse package (apt-get install libpulse-dev) but that file is still missing.
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, Guille
[1] https://github.com/pharo-project/pharovm/blob/e4ccdb38e01578e3569c9c42d21996... [2] http://man.yolinux.com/cgi-bin/man2html?cgi_command=ldd
On 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,
Jeff
On 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.so vm-sound-null.so vm-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
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
apt-get install libpulse-dev
the *-dev packages are only useful when you compile packages. If you don't want to compile C files, you only need the non -dev packages (libpulse0). -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
SUCCESS! I installed the libpulse0 package. LDD showed that the library was linked to the i386 libraries. It worked. It seems like someone needs to update the other sound packages to point to the i386 packages rather than to default to the x86_64 ones. Thanks, Jeff On Thu, Sep 5, 2013 at 3:52 PM, Damien Cassou <damien.cassou@gmail.com>wrote:
On Wed, Sep 4, 2013 at 12:37 PM, J.F. Rick <self@je77.com> wrote:
apt-get install libpulse-dev
the *-dev packages are only useful when you compile packages. If you don't want to compile C files, you only need the non -dev packages (libpulse0).
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
participants (4)
-
Damien Cassou -
Guillermo Polito -
J.F. Rick -
Marcus Denker