Pharo-Mars on Ubuntu

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

Pharo-Mars on Ubuntu

kmo
I've just tried to get pharo-mars working on xubuntu 20.04. But it tells me
it cannot find the GTK3 library. But the library is present here:
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0

I thought this was supposed to be the correct place.

Should I be putting a symbolic link somewhere?



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

Reply | Threaded
Open this post in threaded view
|

Re: Pharo-Mars on Ubuntu

Richard Sargent (again)
The most common cause of things like this seems to be running a 32-bit program and only having the 64-bit libraries available. Is your Pharo VM 32-bit?


On July 21, 2020 8:24:15 AM PDT, kmo <[hidden email]> wrote:
I've just tried to get pharo-mars working on xubuntu 20.04. But it tells me
it cannot find the GTK3 library. But the library is present here:
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0

I thought this was supposed to be the correct place.

Should I be putting a symbolic link somewhere?



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

kmo
Reply | Threaded
Open this post in threaded view
|

Re: Pharo-Mars on Ubuntu

kmo
Thanks for the suggestion but everything is 64 bit.

I added this problem to the mars github issues list (there's an existing
issue for linux problems) and Esteban is now looking at it, so we're getting
somewhere.

The problem was I had no libgit-3.so in the folder only a libgit.so.0.

Unfortunately adding a symbolic link hasn't solved my problems. I now get a
VM crash. I've reported this along with the crash dump.

I'm sure it will be sorted eventually but I've been trying to get mars to
run on ubuntu since May - so progress is slow.




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

Reply | Threaded
Open this post in threaded view
|

Re: Pharo-Mars on Ubuntu

Stéphane Ducasse
Esteban is on vacation and I’m not sure that he is reading emails. 
Now can you check the path that is used by the FFI call and put your path?
may be look at ffiLibrary and ffiLibrary:
I do not have an image with Mars at hand. 

Stef
On 22 Jul 2020, at 11:11, kmo <[hidden email]> wrote:

Thanks for the suggestion but everything is 64 bit.

I added this problem to the mars github issues list (there's an existing
issue for linux problems) and Esteban is now looking at it, so we're getting
somewhere.

The problem was I had no libgit-3.so in the folder only a libgit.so.0.

Unfortunately adding a symbolic link hasn't solved my problems. I now get a
VM crash. I've reported this along with the crash dump.

I'm sure it will be sorted eventually but I've been trying to get mars to
run on ubuntu since May - so progress is slow.

I’m sorry for this. 


--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France

kmo
Reply | Threaded
Open this post in threaded view
|

Re: Pharo-Mars on Ubuntu

kmo
The library not found problem has been resolved. We are now back to a VM
crash when GTK is used. Pharo-Mars is still not running on Ubuntu.

For those who want the details -

The library problem was caused by Ubuntu not creating a symbolic link
libGtk-3.so. It only has a libGtk-3.so.0 link.

When I created the libGtk-3.so link, I got a VM crash when the image starts
up.

I see that Estaban has recently fixed the library issue by adding
libGtk-3.so.0 to the library search path. He has also changed something in
the startup of Pharo-Mars because I no longer get a VM crash when the Image
starts up - I now get the crash when a GTK  Spec application starts up.

I'm just waiting for Estaban to update the issue to say he's had a chance to
look at the crash.



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

Reply | Threaded
Open this post in threaded view
|

Re: Pharo-Mars on Ubuntu

Stéphane Ducasse
Hi kmo

Pablo is about to release a new VM this week or next week and your crash are interesting to us. 
I think that pablo will contact you. 

S.

On 3 Aug 2020, at 15:15, kmo <[hidden email]> wrote:

The library not found problem has been resolved. We are now back to a VM
crash when GTK is used. Pharo-Mars is still not running on Ubuntu.

For those who want the details -

The library problem was caused by Ubuntu not creating a symbolic link
libGtk-3.so. It only has a libGtk-3.so.0 link.

When I created the libGtk-3.so link, I got a VM crash when the image starts
up.

I see that Estaban has recently fixed the library issue by adding
libGtk-3.so.0 to the library search path. He has also changed something in
the startup of Pharo-Mars because I no longer get a VM crash when the Image
starts up - I now get the crash when a GTK  Spec application starts up.

I'm just waiting for Estaban to update the issue to say he's had a chance to
look at the crash.



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


--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France