[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Problem linking Linux Sound Library (#360)

Eliot Miranda notifications at github.com
Fri Jan 25 21:09:03 UTC 2019


Hi Eva,

On Fri, Jan 25, 2019 at 4:53 AM Eva <notifications at github.com> wrote:

> On Linux Mint Sylvia, I could not play sounds (e.g. SampledSound beep).
> This occurred in the newest SWA VM build of Squeak.
>
> Underlying problem seems to be that the Linux sound libraries for
> PulseAudio are not linked correctly.
>
> (Maybe this is the same as #118
> <https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/118>)
>

It might be well worth adding your message to that issue.  Capturing these
issues has to be a high priority.


> With @krono <https://github.com/krono> I found this workaround:
> LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.0
> LD_LIBRARY_PATH=/home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412:/lib/x86_64-linux-gnu:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib:
> /home/user/Dokumente/SWA2018.app/Contents/Linux-i686/bin/../lib/squeak/5.0-201810071412/squeak
> -vm-sound-pulse
> /home/user/Dokumente/SWA2018.app/Contents/Resources/SWA2018.image
>

Ugh, that's ugly :-).  But well found you two; thanks!!  The questions I
have are
a) where should we document this workaround to communicate it to Linux
users who may be suffering from the ease problem?
b) what does the LD_PRELOAD variable cause to happen, and how many linux
systems is it supported on?
c) is there any way we can (safely) add this to the vm startup script, or
to the sound-pulse module itself, e.g. somewhere
in platforms/unix/vm-sound-pulse/sqUnixSoundPulseAudio.c?  or in the code
that loads the module?


>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/APHa0PvjMt1ODGW3wJNLxErdkybE72bHks5vGv5bgaJpZM4aS083>
> .
>


-- 
_,,,^..^,,,_
best, Eliot


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360#issuecomment-457729071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190125/785db25f/attachment.html>


More information about the Vm-dev mailing list