Athens on Pharo 3.0 on Ubuntu
Hi list, I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows: /usr/lib/x86_64-linux-gnu/libcairo.so.2 So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux. Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on? Thanks! -- Bernat Romagosa.
Sorry guys, what a stupid mistake! Of course you can't call a 64b library, I hadn't thought about that... For Ubuntu x64 users, here's what you need to do: apt-get install libcairo2-dev:i386 2014/1/6 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Hi list,
I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows:
/usr/lib/x86_64-linux-gnu/libcairo.so.2
So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux.
Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on?
Thanks!
-- Bernat Romagosa.
-- Bernat Romagosa.
On 6 January 2014 17:03, Bernat Romagosa <tibabenfortlapalanca@gmail.com>wrote:
Sorry guys, what a stupid mistake!
Of course you can't call a 64b library, I hadn't thought about that...
For Ubuntu x64 users, here's what you need to do:
apt-get install libcairo2-dev:i386
amen :)
2014/1/6 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Hi list,
I was just testing the new Pharo 3.0 on an Ubutu box, and I found the Athens Cairo examples are not working. The first bug is just about the path of libcairo.so.2 in Ubuntu x64, which is as follows:
/usr/lib/x86_64-linux-gnu/libcairo.so.2
So, this path should be added to CairoLibraryLoader class >> pathToCairoOnLinux.
Still, after adding it, I get: 'failed to get a symbol address: cairo_image_surface_create', and here I'm lost... any ideas what's going on?
Thanks!
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Best regards, Igor Stasenko.
On Mon, Jan 6, 2014 at 5:03 PM, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote:
For Ubuntu x64 users, here's what you need to do:
no! All Ubuntu users should use http://www.pharo-project.org/pharo-download/ubuntu -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
Oh I see! I usually use Debian, so I didn't even look for an Ubuntu option in the downloads list. Thanks! 2014/1/6 Damien Cassou <damien.cassou@gmail.com>
On Mon, Jan 6, 2014 at 5:03 PM, Bernat Romagosa <tibabenfortlapalanca@gmail.com> wrote:
For Ubuntu x64 users, here's what you need to do:
no! All Ubuntu users should use http://www.pharo-project.org/pharo-download/ubuntu
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
-- Bernat Romagosa.
participants (3)
-
Bernat Romagosa -
Damien Cassou -
Igor Stasenko