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

Bert Freudenberg bert at freudenbergs.de
Tue Jun 3 19:53:58 UTC 2014


On 03.06.2014, at 21:49, 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..?

Precisely. That's the reason the X11 and OpenGL libs are only linked with the X11 module. Even if those libs are not installed (like on any normal server) the VM itself will still work.

- Bert -

> 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..
> 
> 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 -
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> 
>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140603/433de03f/smime.bin


More information about the Squeak-dev mailing list