On 21 May 2018, at 17:25, Richard O'Keefe <raoknz@gmail.com> wrote:Thank you for that. The instructions there are incomplete.It is necessary to addsudo apt-get install libcairo2-dev:i386to the script.On 21 May 2018 at 19:36, John Pfersich <jpfersich@gmail.com> 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��� headingFor encrypted mail use jgpfersich@protonmail.comGet a free account at ProtonMail.comWeb: www.objectnets.net and www.objectnets.orgIt's not just Windows users. I have Pharo 6.0 #605.40running under Linux Ubuntu version 17.10 and the cairolibrary 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 directoryYet 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 getError: cannot locate cairo library. Please check if it is installed ...CairoLibrary(Object) error:CairoLibrary unix32ModuleNameUnix32Platform ffiModuleNameCairoLibrayr(FFILibrary) moduleNameFFICalloutMethodBuilder moduleNameThe 32 is the clue. Apparently I'm running a 32-bit Pharowith 64-bit libraries installed. Could this be the problemon Windows?On 21 May 2018 at 07:46, Guillermo Polito <guillermopolito@gmail.com> wrote:On Sat, May 19, 2018 at 1:37 PM, Peter Uhn��k <i.uhnak@gmail.com> wrote:Hi,some Windows users are repeatedly running into Pharo failing to load Cairo library on Windows (see stack screenshot at the bottom).The problem is that I have no idea how to even start debugging this.Is there some documentation on how Pharo loads libraries via FFI on Windows that I can start digging into?Note that the library is definitely present, as this happens only occasionally -- it can be fixed by restarting PC. But I cannot reasonably ask users to restart just because Pharo decided it doesn't feel like loading a library.Any pointers / docs / ideas appreciated.You can see the actual code from?Thanks,Peter<image.png>--
Guille PolitoResearch Engineer
Centre de Recherche en Informatique, Signal et Automatique de LilleCRIStAL - UMR 9189French National Center for Scientific Research - http://www.cnrs.frPhone: +33 06 52 70 66 13