Forums

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

libfreetype is shown as installed

Auteur Réponses
mitraani Vendredi 22 Février 2019 à 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 Vendredi 22 Février 2019 à 16:55
Dadu042

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

ParaDice Samedi 23 Février 2019 à 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 Samedi 23 Février 2019 à 11:25
Quentin PÂRISAnonymous

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 Mardi 5 Mars 2019 à 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 Mardi 5 Mars 2019 à 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.

Edité par ParaDice

Quentin PÂRIS Mercredi 6 Mars 2019 à 22:06
Quentin PÂRISAnonymous

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

dexMilano Mardi 24 Décembre 2019 à 12:30
dexMilanoAnonymous

Hello all,

I am back to this topic.

After updating to 18.04 LTS (1 year ago!) I start facing this issue and from time to time I try to work on it.
I have also tried to remove the libz* files but the issue is still here.

Everything seems to be installed properly: Freetype 2.8.1, POL 4.3.2
but

[12/24/19 11:10:14] - Running wine-1.9.0 AcroRd32.exe (Working directory : /home/dex/.PlayOnLinux/wineprefix/AdobeAcrobatReaderDC/drive_c/Program Files/Adobe/Acrobat Reader DC/Reader)
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

 

I think the issue is related to Wine version (actual is 4.5, POL 1.9 !!!!).

So I decided to make an experiment: I have WINE installed also by itself (3.0, supporteb by Ubuntu). In the configuration of the POL launcher I see you can define the version of Wine to use and I also see a "SYSTEM" option. I suppose this will launch the version configured for the system (i.e. the 3.0)
This option seems to solve the issue (with all libz files still present and not used)     !!!!!!!

Cannot say this is definitive solution but the Freetype error is not present anymore and the applications I have, can start properly.

Still in testing but I hope this can help

 

Edité par dexMilano

Dadu042 Mardi 24 Décembre 2019 à 15:27
Dadu042

This issue (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 ) is usually related to a old Wine version. Use a newer one.  

Already in Our Wiki .

Edité par Dadu042

dexMilano Mardi 24 Décembre 2019 à 18:22
dexMilanoAnonymous

Thanks Dady042 for your reply.

Cannot understand how to modify the script. Maybe a direct link in the wiki page could be useful (here is mentioned a "About a script stored in 'Supported software', how to install it with a newer Wine version ?" but I cannot find it)

 

Said that,

actually the fix I have found is moving in the same direction.

I am wondering how can I update the WINE in POL?

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com