<div dir="ltr">Hi Chris,<div><br></div><div> can you send me the tweaks? I hope they're to check and install the 32-bit libs if not already present. I've not had time to fix this myself. Sorry.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 2:46 PM, Chris Muller <span dir="ltr"><<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Okay, up and running. As Bert pointed out, ldd told me which modules<br>
were missing. But what package are those modules in? By using dpkg<br>
-S on the _working_ machine on the actual missing module names, and<br>
then going back to the origina machine to install the :i386 version of<br>
that package, I ended up installing libX11-6:i386, libice6:i386,<br>
libgl1-mesa-glx:i386 and libsm6:i386.<br>
<br>
After all that, and also after tweaking the standard "squeak" script<br>
included wiht Cog (because it's been broken on Ubuntu for ages), I<br>
can, once again, run Squeak on this machine.<br>
<br>
If I hadn't had access to the working laptop, I don't know what I<br>
would have done. Hopefully we'll be able to improve Squeak's<br>
accessibility someday..<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jun 3, 2014 at 3:00 PM, Chris Cunnington <<a href="mailto:brasspen@gmail.com">brasspen@gmail.com</a>> wrote:<br>
><br>
> On Jun 3, 2014, at 3:49 PM, Chris Muller <<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>> wrote:<br>
><br>
> Ah, okay, now we're getting somewhere.<br>
><br>
> cmm@ent2:/usr/local/lib/squeak/4.0-2776$ ldd vm-display-X11<br>
> linux-gate.so.1 => (0xf7722000)<br>
> libGL.so.1 => not found<br>
> libXext.so.6 => not found<br>
> libSM.so.6 => not found<br>
> libICE.so.6 => not found<br>
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76e8000)<br>
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76cc000)<br>
> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7686000)<br>
> libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf766c000)<br>
> libX11.so.6 => not found<br>
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74bd000)<br>
> /lib/ld-linux.so.2 (0xf7723000)<br>
><br>
> So I think Nicolai was right -- 32-bit libs not installed. Perhaps<br>
> running with -vm display=none somehow avoids the need for that<br>
> dependency..?<br>
><br>
> I recently upgraded this machine to Ubuntu 14.04 from 12.04. I<br>
> thought I had run squeak since then but maybe I haven't.<br>
><br>
> With Ubuntu 12.04, one could install "ia32-libs" but that package is<br>
> no longer available with 14.04. I actually have 14.04 on one of my<br>
> laptops where Squeak is working fine. I just did ldd on that and it<br>
> referred to a bunch of :i386 packages..<br>
><br>
><br>
> ia32-libs is deprecated in Debian 7 Wheezy.<br>
><br>
> dpkg --add-achitecture i386<br>
> apt-get update<br>
> apt-get install libc6:i386<br>
><br>
> <a href="http://stackoverflow.com/questions/20032019/to-install-ia32-libs-on-debian-wheezy-amd64" target="_blank">http://stackoverflow.com/questions/20032019/to-install-ia32-libs-on-debian-wheezy-amd64</a><br>
> <a href="https://wiki.debian.org/Multiarch" target="_blank">https://wiki.debian.org/Multiarch</a><br>
><br>
> Ken installed ia32-libs in box4, I suppose, because he'd not heard of<br>
> Multiarch.<br>
><br>
> Chris<br>
><br>
><br>
><br>
> Unfortunately, I'm not sure what magic incantation I must've used to<br>
> get all those packages installed on that 14.04 laptop. I'll keep<br>
> digging but if someone knows, it'd be much appreciated..<br>
><br>
> On Tue, Jun 3, 2014 at 2:08 PM, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>><br>
> wrote:<br>
><br>
> On 03.06.2014, at 21:03, Chris Muller <<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>> wrote:<br>
><br>
> It's not obvious to me which one is the X11 module..<br>
><br>
><br>
> None. You need to run ldd not on the vm, but on the "vm-display-X11" module,<br>
> which cannot be loaded according to the error message you got.<br>
><br>
> - Bert -<br>
><br>
> I'm not sure -- here's the ldd output on a machine where Squeak is working<br>
> fine:<br>
><br>
> cmm@ent1:/usr/local$ ldd ./lib/squeak/4.0-2776/squeak<br>
> linux-gate.so.1 => (0xf7766000)<br>
> libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xf7744000)<br>
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf773f000)<br>
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7723000)<br>
> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76f7000)<br>
> libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf76dd000)<br>
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7533000)<br>
> /lib/ld-linux.so.2 (0xf7767000)<br>
><br>
> Here's the output of ldd on the machine that isn't working:<br>
><br>
> cmm@ent2:/usr/local/lib/squeak/4.0-2776$ ldd squeak<br>
> linux-gate.so.1 => (0xf7795000)<br>
> libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xf7775000)<br>
> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7770000)<br>
> libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7753000)<br>
> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf770d000)<br>
> libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf76f4000)<br>
> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7545000)<br>
> /lib/ld-linux.so.2 (0xf7796000)<br>
><br>
> Looks like those hex-addresses are different, other than that, they<br>
> look the same. It's not obvious to me which one is the X11 module..<br>
><br>
><br>
><br>
> On Tue, Jun 3, 2014 at 11:16 AM, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>><br>
> wrote:<br>
><br>
><br>
> On 03.06.2014, at 17:51, Chris Muller <<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>> wrote:<br>
><br>
> On one machine only, I'm getting an error when I try to start any image:<br>
><br>
> --------------<br>
> could not find display driver vm-display-X11; either:<br>
> - check that /usr/local/lib/squeak/4.0-2776//vm-display-X11.so exists, or<br>
> - use the '-plugins <path>' option to tell me where it is, or<br>
> - remove DISPLAY from your environment.<br>
> ---------------<br>
><br>
> Of course, none of those suggestions worked, and I have been running<br>
> Squeak for a long time on this box with no problems.<br>
><br>
> The same image starts fine on other machines, so I'm guessing<br>
> something has gotten hosed up with my Ubuntu 14.04 installation on<br>
> this one box?<br>
><br>
> Any suggestions are appreciated. Thanks!<br>
><br>
><br>
> Does "ldd" output on the X11 module look right?<br>
><br>
> - Bert -<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div>