Форум

No sofware could be installed in PlayOnLinux in Ubuntu 18.04 as Wine cannot find the FreeType font library

libfreetype is shown as installed

Автор Replies
mitraani Friday 22 February 2019 at 15:58
mitraaniAnonymous

This is the log when i try to install Skechup 



[02/21/19 16:50:55] - Running wine-1.7.22 --version (Working directory : /home/artim/.PlayOnLinux/wine/mono)
wine-1.7.22

PlayOnLinux logfile
-------------------
Date: 02/21/19 16:50:55

> PlayOnLinux Version
  4.2.12
> uname -a
  Linux artim-ML10Gen9 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.7.22
> POL_WINEVERSION
  1.7.22
> WINEPREFIX
  /home/artim/.PlayOnLinux//wineprefix/GoogleSketchUp
> Distribution
  Ubuntu 18.04.1 LTS
> glxinfo \| grep rendering
  direct rendering: Yes
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, 
    GL_NV_packed_float_linear, GL_NV_path_rendering, 
> glxinfo \| grep renderer
  OpenGL renderer string: GeForce GT 710/PCIe/SSE2
> OpenGL libs (Direct rendering testing)
  check_dd_x86 missing, test skipped
  check_dd_amd64 missing, test skipped

[02/21/19 16:51:04] - Running wine-1.7.22 cmd /c echo %ProgramFiles% (Working directory : /home/artim/.PlayOnLinux/wine/mono)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
C:\Program Files
[02/21/19 16:55:46] - Running wine-1.7.22 start /unix GoogleSketchUpWEN.exe (Working directory : /home/artim/.PlayOnLinux/tmp/GoogleSketchUp)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet

however freetype is insalled

 sudo dpkg -l | grep freetype
[sudo] password for artim: 
ii  libfreetype6:amd64                            2.8.1-2ubuntu2                               amd64        FreeType 2 font engine, shared library files
ii  libfreetype6:i386                             2.8.1-2ubuntu2                               i386         FreeType 2 font engine, shared library files

Why is wine not detecting free type with PlayonLinux?

 

 

Dadu042 Friday 22 February 2019 at 16:55
Dadu042
Moderator

Perhaps look at this : http://wiki.playonlinux.com/index.php/Components_and_Functions#corefonts

ParaDice Saturday 23 February 2019 at 10:30
ParaDiceAnonymous

Perhaps look at this : http://wiki.playonlinux.com/index.php/Components_and_Functions#corefonts

 

The corefonts are not related to this issue.

As the TO said, the issue is related to freetype not being found by POL / wine.

The problem seems to be known, as pointed out by several threads, some of them on this very forum:

https://askubuntu.com/questions/1084231/playonlinux-not-detecting-freetype-fonts-ubuntu-18-04

https://www.playonlinux.com/en/topic-15082-Playonlinux_freetype_font_problem.html

https://www.playonlinux.com/en/topic-16259-Stalker_Shadow_of_Chernobyl_wont_install.html

I have the issue myself, but so far nobody seems to have a solution for it.

Quentin PÂRIS Saturday 23 February 2019 at 11:25
Quentin PÂRIS
Admin

Hi!

The problem has been pointed out many times on this forum. It comes from the fact that wine versions in POL 4.2.4 are compiled with a version of libfreetype that is too old.

We encourage people to update to the latest version of POL (which also fixes other bugs) and use a recent version of wine 

ParaDice Tuesday 5 March 2019 at 10:22
ParaDiceAnonymous

  Hello Quentin,

thanks for your suggestion. I've tried them already, but even with the most recent versions available rather than those from the repositories, it doesn't work - I'm still getting the dreaded error message:

"Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5."
 

Here's what I'm running:

Linux Mint 19 (Ubuntu 18.04 Basis)

PlayOnLinux 4.3.4 (via POL's sources)

Wine 4.0 (via WineHQ's sources)

 

I'm out of ideas. :(

ParaDice Tuesday 5 March 2019 at 13:00
ParaDiceAnonymous

I did a little research and finally found a make-shift solution for the problem (posting by user "Fincer"):

https://bbs.archlinux.org/viewtopic.php?pid=1700283#p1700283

The trick is to go to ~/.PlayOnLinux/wine/linux-YOUR_ARCHITECTURE/YOUR_WINE_VERSION/lib and delete any libz*.so files. After that windows and text will show up as expected.

I'm still failing to install Lightroom 5.7 via POL, but that is likely unrelated to the issue discussed here.

//Edit: Managed to install lightroom - problem was unrelated, as expected. The above solution did the trick for me.

Edited by ParaDice

Quentin PÂRIS Wednesday 6 March 2019 at 22:06
Quentin PÂRIS
Admin

@Paradice, Ensure that all wine dependencies are installed :)