Hi,
I would like to use Pharo on a Debian 9, 64bits. On Pharo website there is an explanation of the requirements for Debian 7 and 8. For Debian it is: sudo dpkg --add-architecture i386 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 sudo apt-get install libssl1.0.0:i386 The problem is that sudo apt-get install libssl1.0.0:i386 throw me this error: Reading package lists... Done Building dependency tree Reading state information... Done Package libssl1.0.0:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libssl1.0.0:i386' has no installation candidate Pharo cannot be use with this libssl. I think that Pharo's webstie should also cover Debian 9. Does someone know what should I do to get the right dependencies? Should I manually download the .deb of debian 8 and install it? -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France |
On Sun, Nov 26, 2017 at 1:22 AM, Cyril Ferlicot
<[hidden email]> wrote: > Hi, > > I would like to use Pharo on a Debian 9, 64bits. > > On Pharo website there is an explanation of the requirements for Debian 7 and 8. > > For Debian it is: > > sudo dpkg --add-architecture i386 > 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 > sudo apt-get install libssl1.0.0:i386 > > The problem is that > > sudo apt-get install libssl1.0.0:i386 > > throw me this error: > > Reading package lists... Done > Building dependency tree > Reading state information... Done > Package libssl1.0.0:i386 is not available, but is referred to by > another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > > E: Package 'libssl1.0.0:i386' has no installation candidate > > Pharo cannot be use with this libssl. I think that Pharo's webstie > should also cover Debian 9. > > Does someone know what should I do to get the right dependencies? > Should I manually download the .deb of debian 8 and install it? > For some more info: Apparently Debian 9 only support libssl1.0.2 and libssl1.1. I tried to install the 1.0.2 but the VM really ask for the 1.0.0 version. -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France |
Hi May be making link, ln -s .... Cheers Jmdc El 25 nov. 2017 21:36, "Cyril Ferlicot" <[hidden email]> escribió:
|
On Sun, Nov 26, 2017 at 1:40 AM, Juan <[hidden email]> wrote:
> Hi > > > May be making link, ln -s .... > > Cheers > Jmdc > I added a symlink sudo ln -s /usr/lib/i386-linux-gnu/libssl.so.1.0.2 /usr/lib/i386-linux-gnu/libssl.so.1.0.0 But apparently it's not enought. I get the Pharo image and vm with this command: wget --quiet -O - get.pharo.org/50+vm | bash And when I try to install a project I still get an error. Command: ./pharo Pharo.image eval --save ' Metacello new baseline: #MaterialDesignLite; githubUser: '\''DuneSt'\'' project: '\''MaterialDesignLite'\'' commitish: '\''development'\'' path: '\''src'\''; onWarningLog; load.' Error before the symlink: ioLoadModule(/var/lib/jenkins/workspace/MaterialDesignLite/PHARO/50/VERSION/development/pharo-vm/libSqueakSSL.so): libssl.so.1.0.0: cannot open shared object file: No such file or directory ...RETRY->BaselineOfMaterialDesignLite ...RETRY->BaselineOfMaterialDesignLite [31mZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?) [0m[ :exception | ZdcPluginMissing signal ] in ZdcPluginSSLSession>>initialize in Block: [ :exception | ZdcPluginMissing signal ] BlockClosure>>cull: Context>>evaluateSignal: Context>>handleSignal: Error after the symlink: ioLoadModule(/var/lib/jenkins/workspace/MaterialDesignLite/PHARO/50/VERSION/development/pharo-vm/libSqueakSSL.so): /usr/lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /var/lib/jenkins/workspace/MaterialDesignLite/PHARO/50/VERSION/development/pharo-vm/libSqueakSSL.so) ...RETRY->BaselineOfMaterialDesignLite ...RETRY->BaselineOfMaterialDesignLite [31mZdcPluginMissing: SSL/TLS plugin initailization failed (VM plugin missing ? OS libraries missing ?) [0m[ :exception | ZdcPluginMissing signal ] in ZdcPluginSSLSession>>initialize in Block: [ :exception | ZdcPluginMissing signal ] BlockClosure>>cull: Context>>evaluateSignal: Debian 9 comes with openssl 1.1 and not 1.0.0 I also tried to replace libssl1.0.2 by libssl1.1 and update the symlink but it produce the same result, it expect openssl 1.0.0 -- Cyril Ferlicot https://ferlicot.fr http://www.synectique.eu 2 rue Jacques Prévert 01, 59650 Villeneuve d'ascq France |
In reply to this post by CyrilFerlicot
Cyril,
basically it should much more easy to install the vm on debian than what you described. The problem is that nobody put the updated installation instructions on the web site. Here they are The problem with it is that it won't help you at the moment. Last week we discovered that problem that debian 9 uses libssl 1.1 and that does not work with SqueakSSL plugin. The problem has been identified and Holger submitted a patch for the problem. But there are even bigger problems. The current vms are in a bad shape. And it is really hard to get a patch in the vm. So there is no ETA when this will work. So this is more of a FYI Norbert
|
In reply to this post by CyrilFerlicot
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 |
Free forum by Nabble | Edit this page |