Hi Wilhelm,<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 12:01 PM, Schwab,Wilhelm K <span dir="ltr">&lt;<a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
A recurring theme is that I encounter a problem for which there is no explanation from the system, hack the vm sources to add some tracing, and correct the problem.  As a result, I end up building the vm from source and so tend to use a shell script that runs it.<br>
</blockquote><div><br></div><div>Set LD_LIBRARY_PATH to include the relevant directory.  Here&#39;s the script I use at Teleplace, where the script is root/bin/squeak and the so&#39;s are in root/lib/squeak/3.9-7.  You can tailor to suit.</div>
<div><br></div><div><div>#!/bin/sh</div><div>BIN=`/usr/bin/dirname &quot;$0&quot;`/../lib/squeak/3.9-7</div><div># At least on linux LD_LIBRARY_PATH&#39;s components must be absolute path names</div><div>case &quot;$BIN&quot; in</div>
<div>/*) PLUGINS=&quot;$BIN&quot;;;</div><div>*) PLUGINS=&quot;`pwd`/$BIN&quot;</div><div>esac</div><div># prepending is less flexible but safer because it ensures we find the plugins</div><div># in the same directory as the VM.</div>
<div>LD_LIBRARY_PATH=$PLUGINS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec &quot;$BIN/squeak&quot; &quot;$@&quot;</div></div><div><br></div><div>HTH</div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
FWIW, without a -plugins option, this is what happens with the current sources:<br>
<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-OSS<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-MacOSX<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-Sun<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-pulse<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.vm-sound-ALSA<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.MiscPrimitivePlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.FilePlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.SecurityPlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.LargeIntegers<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.BitBltPlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.B2DPlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.LocalePlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.SocketPlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.FloatArrayPlugin<br>
Load failed for: /usr/local/lib/squeak/4.0.3-2202//so.Matrix2x3Plugin<br>
<br>
Note the extra / in the paths.  Some of the plugins should fail to load; the point is that *all* of them fail to load.<br>
<br>
Bill<br>
</blockquote></div><br>