Problem with PharoLauncher on Ubuntu 18.04 (64 bit)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with PharoLauncher on Ubuntu 18.04 (64 bit)

Francisco Lizarralde
Hi all,

I was using the PharoLauncher (32 bits) version on Ubuntu 14.04 (32 bits)
without problem. But two days ago I installed Ubuntu 18.04 (64 bits) and
tried to run PharoLauncher-linux-1.1-x64 and when I tried to run a 6.1 image
I got this message.

Try this on a terminal:

cd "/home/francisco/Pharo/vms/private/6521" && export SQUEAK_PLUGINS="" &&
"/home/francisco/Pharo/vms/private/6521/pharo" --nodisplay
"/home/francisco/Pharo/images/Pharo 6.1 (stable)_1/Pharo 6.1
(stable)_1.image" eval "(Smalltalk imagePath asFileReference parent) /
'pharo.version' writeStreamDo: [ :stream | |major minor|major :=
SystemVersion current major.minor := SystemVersion current minor.(major = 6
and: [ SystemVersion current highestUpdate >= 60509 ])ifTrue: [ minor := 1
].stream << major asString;<< minor asString ]"

And got this:

Error. Could not determine platform's libc path for VM.
Try forcing $PLATFORMLIBDIR in /home/francisco/Pharo/vms/private/6521/pharo,
based on LIBC_SO.
Please report what works to pharo [vm-dev] mail list.
  LIBC_SO=
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
  NAME="Ubuntu"
  VERSION="18.04 LTS (Bionic Beaver)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 18.04 LTS"
  VERSION_ID="18.04"
  VERSION_CODENAME=bionic
  UBUNTU_CODENAME=bionic
  UNAME=Linux Dynabook 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  System seems to be 64 bit. You may need to (re)install the 32-bit
libraries.

Do I really need to install 32-bit libraries ?

Any advice will be apreciated !!!

Thanks in advance,

Francisco



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Problem with PharoLauncher on Ubuntu 18.04 (64 bit)

demarey
Hi Francisco,

Le 29 mai 2018 à 00:30, Francisco Lizarralde <[hidden email]> a écrit :

Hi all,

I was using the PharoLauncher (32 bits) version on Ubuntu 14.04 (32 bits)
without problem. But two days ago I installed Ubuntu 18.04 (64 bits) and
tried to run PharoLauncher-linux-1.1-x64 and when I tried to run a 6.1 image

It is not very surprising that you get problems when using 32-bits pharo version on an new 64-bits system. With time, it is more and more difficult to find compatible 32-bits libraries to install on these systems.
Did you follow instructions available at https://pharo.org/gnu-linux-installation?
Prepare 64-bit-Linux for 32bit Pharo

The installation in Debian 8 Jessie 64bits and Ubuntu 14.04 and Later require some operations.

 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 

I would recommend you to use the 64-bits version of PharoLauncher: http://files.pharo.org/pharo-launcher/1.1/PharoLauncher-linux-1.1-x64.zip

Tell me if it is ok. If not, do not hesitate to post an issue: https://github.com/pharo-project/pharo-launcher/issues

Regards,
Christophe.


I got this message.

Try this on a terminal:

cd "/home/francisco/Pharo/vms/private/6521" && export SQUEAK_PLUGINS="" &&
"/home/francisco/Pharo/vms/private/6521/pharo" --nodisplay
"/home/francisco/Pharo/images/Pharo 6.1 (stable)_1/Pharo 6.1
(stable)_1.image" eval "(Smalltalk imagePath asFileReference parent) /
'pharo.version' writeStreamDo: [ :stream | |major minor|major :=
SystemVersion current major.minor := SystemVersion current minor.(major = 6
and: [ SystemVersion current highestUpdate >= 60509 ])ifTrue: [ minor := 1
].stream << major asString;<< minor asString ]"

And got this:

Error. Could not determine platform's libc path for VM. 
Try forcing $PLATFORMLIBDIR in /home/francisco/Pharo/vms/private/6521/pharo,
based on LIBC_SO.
Please report what works to pharo [vm-dev] mail list.
 LIBC_SO=
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=18.04
 DISTRIB_CODENAME=bionic
 DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
 NAME="Ubuntu"
 VERSION="18.04 LTS (Bionic Beaver)"
 ID=ubuntu
 ID_LIKE=debian
 PRETTY_NAME="Ubuntu 18.04 LTS"
 VERSION_ID="18.04"
 VERSION_CODENAME=bionic
 UBUNTU_CODENAME=bionic
 UNAME=Linux Dynabook 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
 System seems to be 64 bit. You may need to (re)install the 32-bit
libraries.

Do I really need to install 32-bit libraries ? 

Any advice will be apreciated !!!

Thanks in advance,

Francisco



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html


Reply | Threaded
Open this post in threaded view
|

Re: Problem with PharoLauncher on Ubuntu 18.04 (64 bit)

Francisco Lizarralde

Hi Francisco,

> Le 29 mai 2018 à 00:30, Francisco Lizarralde &lt;francisco.lizarralde@&gt;
> a écrit :
>
> Hi all,
>
> I was using the PharoLauncher (32 bits) version on Ubuntu 14.04 (32 bits)
> without problem. But two days ago I installed Ubuntu 18.04 (64 bits) and
> tried to run PharoLauncher-linux-1.1-x64 and when I tried to run a 6.1
> image

It is not very surprising that you get problems when using 32-bits pharo
version on an new 64-bits system. With time, it is more and more difficult
to find compatible 32-bits libraries to install on these systems.
Did you follow instructions available at
https://pharo.org/gnu-linux-installation?

Hi Christophe,

Thank you for your prrompt reply.

Before I had a 32 bit PharoLauncher running on a 32 bit Ubuntu without
problem and now I do not have a 32 bit of PharoLauncher running on a Ubuntu
18.04.

But now I have installed an all new  64 bit version of Ubuntu 18.04 and then
decompressed the PharoLauncher-linux-1.1-x64.zip and is with this version
that I have problems to run a 6.1 image.

I think the problem would be that PharoLauncher doesn't locate the path of
libc.so

"Error. Could not determine platform's libc path for VM.
Try forcing $PLATFORMLIBDIR in /home/francisco/Pharo/vms/private/6521/pharo,
based on LIBC_SO."

But I don't know how to fix it. I will try to post the issue at
https://github.com/pharo-project/pharo-launcher/issues

Best regards.

Francisco




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply | Threaded
Open this post in threaded view
|

Re: Problem with PharoLauncher on Ubuntu 18.04 (64 bit)

demarey
Hi Francisco,

I now get your problem.
You tried to run a Pharo 6.1 32-bits image that requires a 32-bit VM on a 64-bit system. It is doable but to do that, you first need to install 32-bit libraries required by Pharo VM.
If you do not want to do that, you could simply try to use a 64-bit version of Pharo 6.1.

Next Pharo Launcher version will come with a more detailed information on images (32 or 64 bits). I will also try to add a warning when trying to run a 32-bit image on a 64-bit system.
https://github.com/pharo-project/pharo-launcher/issues/112

Regards,
Christophe


> Le 29 mai 2018 à 00:30, Francisco Lizarralde &lt;francisco.lizarralde@&gt;
>>
>> a écrit :
>>
>> Hi all,
>>
>> I was using the PharoLauncher (32 bits) version on Ubuntu 14.04 (32 bits)
>> without problem. But two days ago I installed Ubuntu 18.04 (64 bits) and
>> tried to run PharoLauncher-linux-1.1-x64 and when I tried to run a 6.1
>> image