Using Linux requires certain skills/knowledge, this has nothing to do with 
Pharo or Smalltalk.

To run 32-bit binaries on a 64-bit system you need 32-bit libraries.

This might help (although maybe it is not totally up to date for Pharo 7)

https://github.com/svenvc/pharo-server-tools/blob/master/ubuntu-32bit-support-on-64bit.sh

You can check the dependencies of binaries and dynamic libraries with ldd. They 
have to be resolved correctly.

$ uname -a
Linux sigfox-1 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux

$ file bin/pharo-vm/pharo 
bin/pharo-vm/pharo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, 
BuildID[sha1]=dcf3b690e793d6960e1dbccd36bd0b3938019471, not stripped

$ ldd bin/pharo-vm/pharo 
        linux-gate.so.1 =>  (0xf7730000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76d2000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76cd000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76b0000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74fa000)
        /lib/ld-linux.so.2 (0x565fe000)

pharo and pharo-ui are just scripts 

I would also strongly recommend not using native (FFI) libraries (at first).

You must also understand the difference between a UI based and headless system.

> On 22 Nov 2018, at 16:21, horrido <horrido.hobb...@gmail.com> wrote:
> 
> I'm running 64-bit Debian in a VirtualBox image on my Mac.
> 
> When I install 64-bit Pharo, it works fine. When I install 32-bit Pharo, I
> get the error message below. What's the difference??? Why can one find the
> display driver and the other can't? This makes no sense.
> 
> Earlier, people have been telling me to use './pharo-ui Pharo.image &'. Is
> this no longer kosher? What am I doing wrong?
> 
> 
> 
> Fred Kaiser Borg wrote
>> Those errors are not related to a 32 or 64 bits problem. The issue looks 
>> like you've launched pharo-ui which looks for a physical screen that 
>> isn't there. Are you trying to run pharo-ui in a debian VPS ?
>> 
>> You should run 'pharo' and 'pharo-ui', something like this:
>> 
>> $ pharo myApplication.image
>> 
>> Search on google for 'pharo headless', you should find plenty of example.
>> 
>> HTH,
>> 
>> Fred
>> 
>> On 22/11/2018 13:31, horrido wrote:
>>> I ran 32-bit Pharo under 64-bit Debian and got this error:
>>> 
>>> [1] 8127
>>> richard@debian:~/pharo32$ could not find display driver vm-display-X11;
>>> either:
>>>   - check that
>>> /home/richard/pharo32/pharo-vm/lib/pharo/5.0-201806281256//vm-display-X11.so
>>> exists, or
>>>   - use the '-plugins 
>> <path>
>> ' option to tell me where it is, or
>>>   - remove DISPLAY from your environment.
>>> ./pharo-ui: line 11:  8131 Aborted                
>>> "$DIR"/"pharo-vm/pharo"
>>> "$@"
>>> 
>>> ----------
>>> 
>>> I thought you could always run 32-bit software in a 64-bit OS, but I
>>> guess
>>> I'm wrong.
>>> 
>>> 
>>> 
>>> Sean P. DeNigris wrote
>>>> horrido wrote
>>>>> it threw up a bunch of errors.
>>>> Can you be more specific and did you try Mariano's suggestion about
>>>> 32-bit
>>>> libs?
>>>> 
>>>> 
>>>> 
>>>> -----
>>>> Cheers,
>>>> Sean
>>>> --
>>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>> 
> 
> 
> 
> 
> 
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 


Reply via email to