CyrilFerlicot wrote
> I would like to use Pharo on a Debian 9, 64bits.
> ...
> Does someone know what should I do to get the right dependencies?

Hi Cyril,

>From a fresh debian live CD (xfce) running in a virtual machine 

user@debian:~$ uname -a
Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
GNU/Linux

All I did that seemed really required:

sudo apt-get update
sudo apt-get install libx11-6:i386
sudo apt-get install libgl1-mesa-glx:i386
sudo apt-get install libfontconfig1:i386

Then I downloaded the MOOC specific version of Pharo + the latest 6.1
version (32bit) available at:
https://pharo.org/gnu-linux-installation

Once I extracted both archives, I copied the Pharo 5.0 shared files in the
Pharo 6.1 shared folder.

user@debian:~/pharo6.1/shared$ ls
Pharo5.0.changes  Pharo6.1.changes  PharoV50.sources
Pharo5.0.image    Pharo6.1.image    PharoV60.sources

...switched back to the root of the pharo6.1 directory, ran the script that
launches pharo...

user@debian:~/pharo6.1$ ls
bin  icons  pharo  README.txt  shared
user@debian:~/pharo6.1$ ./pharo

Pharo asked me which image I wanted; I chose the Pharo5.0.image for the MOOC
and voila! The smell of victory? Just to double check I ran the unit tests
for the class ZdcSecureSocketStreamTests -- All green.

Long story short, a pre-compiled libssl, libcrypto and a whole bunch of
other libraries are included with the pharo6.1 download.

user@debian:~/pharo6.1/bin/lib/pharo/5.0-201707201942$ ls
AioPlugin.so              libgit2.so.25         RePlugin.so
B3DAcceleratorPlugin.so   libSDL2-2.0.so.0      SqueakSSL.so
EventsHandlerPlugin.so    libSDL2-2.0.so.0.4.1  SurfacePlugin.so
FT2Plugin.so              libSDL2.so            vm-display-fbdev.so
InternetConfigPlugin.so   libssh2.so            vm-display-null.so
JPEGReaderPlugin.so       libssh2.so.1          vm-display-X11.so
JPEGReadWriter2Plugin.so  libssh2.so.1.0.1      vm-sound-ALSA.so
libcrypto.so.1.0.0        libssl.so             vm-sound-null.so
libgit2.so                libssl.so.1.0.0       vm-sound-OSS.so
libgit2.so.0.25.1         pharo

And the problematic ones seem to be effectively used

user@debian:~/pharo6.1$ lsof | grep libssl.so.1.0.0
pharo     2893                  user  mem       REG               0,20  
463137     106008
/home/user/pharo6.1/bin/lib/pharo/5.0-201707201942/libssl.so.1.0.0
pharo     2893 2924             user  mem       REG               0,20  
463137     106008
/home/user/pharo6.1/bin/lib/pharo/5.0-201707201942/libssl.so.1.0.0

user@debian:~$ lsof | grep libcrypto.so.1.0.0
pharo     2893                  user  mem       REG               0,20 
2157708     106036
/home/user/pharo6.1/bin/lib/pharo/5.0-201707201942/libcrypto.so.1.0.0
pharo     2893 2924             user  mem       REG               0,20 
2157708     106036
/home/user/pharo6.1/bin/lib/pharo/5.0-201707201942/libcrypto.so.1.0.0

Give it another shot! :-)



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html

Reply via email to