[squeak-dev] can't start Squeak on one Ubuntu system anymore

Chris Muller asqueaker at gmail.com
Tue Jun 3 21:48:36 UTC 2014


Oh, and *thanks* to everyone who replied, it turned out everyone's
answer was helpful in some way.  What a great community!

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


More information about the Squeak-dev mailing list