Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following:
$ ./st-exec.st run-t3-proxies start t3-proxies Executing ./st-exec.st run-t3-proxies start t3-proxies Working directory /home/t3/pharo/t3-proxies Starting run-t3-proxies in background /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): libfreetype.so.6: cannot open shared object file: No such file or directory Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? Other operations (building, saving, ..) do not produce the error/warning. Sven |
Anyone ?
> On 12 Aug 2015, at 17:36, Sven Van Caekenberghe <[hidden email]> wrote: > > Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following: > > $ ./st-exec.st run-t3-proxies start t3-proxies > Executing ./st-exec.st run-t3-proxies start t3-proxies > Working directory /home/t3/pharo/t3-proxies > Starting run-t3-proxies in background > /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st > > ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): > libfreetype.so.6: cannot open shared object file: No such file or directory > > Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? > > Other operations (building, saving, ..) do not produce the error/warning. > > Sven > |
most probably you are missing:
sudo apt-get -qq install libfreetype6:i386 cheers, Esteban
|
> On 20 Aug 2015, at 15:05, Esteban Lorenzano <[hidden email]> wrote: > > most probably you are missing: > > sudo apt-get -qq install libfreetype6:i386 Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. Why would a headless server even have to access a font ? > cheers, > Esteban > >> On 20 Aug 2015, at 15:00, Sven Van Caekenberghe <[hidden email]> wrote: >> >> Anyone ? >> >>> On 12 Aug 2015, at 17:36, Sven Van Caekenberghe <[hidden email]> wrote: >>> >>> Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following: >>> >>> $ ./st-exec.st run-t3-proxies start t3-proxies >>> Executing ./st-exec.st run-t3-proxies start t3-proxies >>> Working directory /home/t3/pharo/t3-proxies >>> Starting run-t3-proxies in background >>> /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st >>> >>> ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): >>> libfreetype.so.6: cannot open shared object file: No such file or directory >>> >>> Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? >>> >>> Other operations (building, saving, ..) do not produce the error/warning. >>> >>> Sven >>> >> >> > |
ah, that’s because headless mode is a fake headless (we will arrive to a real headless soon, but not yet).
what actually happens is that VM is creating the window but not showing it… that’s why it needs it :S Esteban > On 20 Aug 2015, at 15:08, Sven Van Caekenberghe <[hidden email]> wrote: > > >> On 20 Aug 2015, at 15:05, Esteban Lorenzano <[hidden email]> wrote: >> >> most probably you are missing: >> >> sudo apt-get -qq install libfreetype6:i386 > > Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. > > Why would a headless server even have to access a font ? > >> cheers, >> Esteban >> >>> On 20 Aug 2015, at 15:00, Sven Van Caekenberghe <[hidden email]> wrote: >>> >>> Anyone ? >>> >>>> On 12 Aug 2015, at 17:36, Sven Van Caekenberghe <[hidden email]> wrote: >>>> >>>> Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following: >>>> >>>> $ ./st-exec.st run-t3-proxies start t3-proxies >>>> Executing ./st-exec.st run-t3-proxies start t3-proxies >>>> Working directory /home/t3/pharo/t3-proxies >>>> Starting run-t3-proxies in background >>>> /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st >>>> >>>> ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): >>>> libfreetype.so.6: cannot open shared object file: No such file or directory >>>> >>>> Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? >>>> >>>> Other operations (building, saving, ..) do not produce the error/warning. >>>> >>>> Sven >>>> >>> >>> >> > > |
OK, thanks for replying.
It is still a bit weird, since I can't remember experiencing it before. I might try to explore a bit more when I have more time. > On 20 Aug 2015, at 15:11, Esteban Lorenzano <[hidden email]> wrote: > > ah, that’s because headless mode is a fake headless (we will arrive to a real headless soon, but not yet). > what actually happens is that VM is creating the window but not showing it… that’s why it needs it :S > > Esteban > >> On 20 Aug 2015, at 15:08, Sven Van Caekenberghe <[hidden email]> wrote: >> >> >>> On 20 Aug 2015, at 15:05, Esteban Lorenzano <[hidden email]> wrote: >>> >>> most probably you are missing: >>> >>> sudo apt-get -qq install libfreetype6:i386 >> >> Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. >> >> Why would a headless server even have to access a font ? >> >>> cheers, >>> Esteban >>> >>>> On 20 Aug 2015, at 15:00, Sven Van Caekenberghe <[hidden email]> wrote: >>>> >>>> Anyone ? >>>> >>>>> On 12 Aug 2015, at 17:36, Sven Van Caekenberghe <[hidden email]> wrote: >>>>> >>>>> Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following: >>>>> >>>>> $ ./st-exec.st run-t3-proxies start t3-proxies >>>>> Executing ./st-exec.st run-t3-proxies start t3-proxies >>>>> Working directory /home/t3/pharo/t3-proxies >>>>> Starting run-t3-proxies in background >>>>> /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st >>>>> >>>>> ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): >>>>> libfreetype.so.6: cannot open shared object file: No such file or directory >>>>> >>>>> Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? >>>>> >>>>> Other operations (building, saving, ..) do not produce the error/warning. >>>>> >>>>> Sven >>>>> >>>> >>>> >>> >> >> > > |
older images didn’t have FT2 fonts active by default :)
> On 20 Aug 2015, at 16:12, Sven Van Caekenberghe <[hidden email]> wrote: > > OK, thanks for replying. > > It is still a bit weird, since I can't remember experiencing it before. > > I might try to explore a bit more when I have more time. > >> On 20 Aug 2015, at 15:11, Esteban Lorenzano <[hidden email]> wrote: >> >> ah, that’s because headless mode is a fake headless (we will arrive to a real headless soon, but not yet). >> what actually happens is that VM is creating the window but not showing it… that’s why it needs it :S >> >> Esteban >> >>> On 20 Aug 2015, at 15:08, Sven Van Caekenberghe <[hidden email]> wrote: >>> >>> >>>> On 20 Aug 2015, at 15:05, Esteban Lorenzano <[hidden email]> wrote: >>>> >>>> most probably you are missing: >>>> >>>> sudo apt-get -qq install libfreetype6:i386 >>> >>> Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. >>> >>> Why would a headless server even have to access a font ? >>> >>>> cheers, >>>> Esteban >>>> >>>>> On 20 Aug 2015, at 15:00, Sven Van Caekenberghe <[hidden email]> wrote: >>>>> >>>>> Anyone ? >>>>> >>>>>> On 12 Aug 2015, at 17:36, Sven Van Caekenberghe <[hidden email]> wrote: >>>>>> >>>>>> Today I did a new pharo install (get.pharo.org/40+vm) on a server (ubuntu 12.04.3 LTS, 64-bit with 32-bit libs). All went fine, as usual, but I was confused about the following: >>>>>> >>>>>> $ ./st-exec.st run-t3-proxies start t3-proxies >>>>>> Executing ./st-exec.st run-t3-proxies start t3-proxies >>>>>> Working directory /home/t3/pharo/t3-proxies >>>>>> Starting run-t3-proxies in background >>>>>> /home/t3/pharo/t3-proxies/../bin/pharo-vm/pharo --nodisplay /home/t3/pharo/t3-proxies/t3-proxies.image /home/t3/pharo/t3-proxies/run-t3-proxies.st >>>>>> >>>>>> ioLoadModule(/home/t3/pharo/bin/pharo-vm/libFT2Plugin.so): >>>>>> libfreetype.so.6: cannot open shared object file: No such file or directory >>>>>> >>>>>> Why is freetype needed/accessed for a headless image (that otherwise runs happily) ? >>>>>> >>>>>> Other operations (building, saving, ..) do not produce the error/warning. >>>>>> >>>>>> Sven >>>>>> >>>>> >>>>> >>>> >>> >>> >> >> > > |
In reply to this post by Sven Van Caekenberghe-2
Le 20/08/2015 15:08, Sven Van
Caekenberghe a écrit :
Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. Are you sure libfreetype depends on X11? hilaire@pchome ~ $ apt-cache show libfreetype6 Package: libfreetype6 Priority: optional Section: libs Installed-Size: 895 Maintainer: Ubuntu Developers [hidden email] Original-Maintainer: Steve Langasek [hidden email] Architecture: amd64 Source: freetype Version: 2.5.2-1ubuntu2.4 Depends: libc6 (>= 2.14), libpng12-0 (>= 1.2.13-4), zlib1g (>= 1:1.1.4) Hilaire -- Dr. Geo http://drgeo.eu http://google.com/+DrgeoEu |
You are right, Hilaire, the freetype lib does not pull in X11, problem solved, thanks a lot!
> On 23 Aug 2015, at 07:40, Hilaire <[hidden email]> wrote: > > Le 20/08/2015 15:08, Sven Van Caekenberghe a écrit : >> Yes, of course, but isn't that an X11 library that will pull in all of X11 and friends on a server that does not need a GUI ? I run all my servers pure command line, out of principle. >> > > Are you sure libfreetype depends on X11? > > hilaire@pchome ~ $ apt-cache show libfreetype6 > Package: libfreetype6 > Priority: optional > Section: libs > Installed-Size: 895 > Maintainer: Ubuntu Developers <[hidden email]> > Original-Maintainer: Steve Langasek <[hidden email]> > Architecture: amd64 > Source: freetype > Version: 2.5.2-1ubuntu2.4 > Depends: libc6 (>= 2.14), libpng12-0 (>= 1.2.13-4), zlib1g (>= 1:1.1.4) > > Hilaire > -- > Dr. Geo > > http://drgeo.eu > http://google.com/+DrgeoEu |
Free forum by Nabble | Edit this page |