It's not just Windows users. I have Pharo 6.0 #605.40 running under Linux Ubuntu version 17.10 and the cairo library is definitely installed. Just starting Pharo is a little concerning: ok@Herbrand:~/Smalltalk$ pharo ioLoadModule(/home/ok/Pharo.d/pharo-vm/lib/pharo/5.0-201707201942/FT2Plugin.so): libfreetype.so.6: cannot open shared object file: No such file or directory ioLoadModule(/home/ok/Pharo.d/pharo-vm/lib/pharo/5.0-201707201942/FT2Plugin.so): libfreetype.so.6: cannot open shared object file: No such file or directory Yet these files exist. /usr/lib/x86_64-linux-gnu/libfreetype.a /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/x86_64-linux-gnu/libfreetype.la /usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.14.0 When I try any Roassal examples, I get Error: cannot locate cairo library. Please check if it is installed ... CairoLibrary(Object) error: CairoLibrary unix32ModuleName Unix32Platform ffiModuleName CairoLibrayr(FFILibrary) moduleName FFICalloutMethodBuilder moduleName The 32 is the clue. Apparently I'm running a 32-bit Pharo with 64-bit libraries installed. Could this be the problem on Windows? On 21 May 2018 at 07:46, Guillermo Polito <[hidden email]> wrote:
|
If you are running a 32 bit Pharo on a 64 bit Ubuntu, there is instructions for additional steps needed at https://pharo.org/gnu-linux-installation under the ‘Prepare 64-bit-Linux for 32bit Pharo’ heading
For encrypted mail use [hidden email] Get a free account at ProtonMail.com Web: www.objectnets.net and www.objectnets.org
|
Thank you for that. The instructions there are incomplete. It is necessary to add sudo apt-get install libcairo2-dev:i386 to the script. On 21 May 2018 at 19:36, John Pfersich <[hidden email]> wrote:
|
why libcairo2-dev and not just libcairo2?
cheers, Esteban
|
Free forum by Nabble | Edit this page |