The forum

Shortcuts Broken After Installing El Capitan

libfreetype library is not found

Author Replies
jeffmikels Friday 6 November 2015 at 21:17
jeffmikels

After installing El Capitan, I now get the following error in the console only when running from a shortcut. I even tried creating the shortcut again, and I get the same errors. However, when I launch my program from the PlayOnMac window, it works as expected.

Any suggestions on what might be causing the shortcut to not find freetype?

 

joshua:MacOS jeff$ [POL_Wine] Message: Running wine-1.7.33-WGL-ShareList NIVBL32.exe default.ses (Working directory : /Volumes/Jeff/Library/PlayOnMac/wineprefix/BibleWorks_5/drive_c/NIVBIBLE)

[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html

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: Unhandled page fault on read access to 0x00000004 at address 0x4b495a30 (thread 0023), starting debugger...

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

err:syslink:SYSLINK_SetFont Failed to create link font!

[POL_Wine] Error: Wine seems to have crashed


If your program is running, just ignore this message

[POL_SetupWindow_Init] Message: Creating new window for pid 12061

nc: port range not valid

[POL_SetupWindow_Close] Message: Closing window for pid 12061

[POL_Wine] Message: Wine return: 84

Edited by jeffmikels

Quentin PÂRIS Friday 6 November 2015 at 21:50
Quentin PÂRISAnonymous

Have you tried to reinstall XQuartz?

Edited by Tinou

jeffmikels Friday 6 November 2015 at 21:54
jeffmikels

Just tried that... no change.

kmizeta Tuesday 10 November 2015 at 13:56
kmizetaAnonymous

I have the same problem too. have you tried reinstalling Playonmac?

 

Quentin PÂRIS Tuesday 10 November 2015 at 15:19
Quentin PÂRISAnonymous

I think I know where the problem comes from.

I think we have to fix PlayOnLinux and you'll have to regenerate the sortcuts :-/

Raf61 Thursday 12 November 2015 at 19:06
Raf61Anonymous

doe sit means that with the current version of PlayonMac the shortcus will NOT work anyway and we should wait for the fix?

Quentin PÂRIS Thursday 12 November 2015 at 22:01
Quentin PÂRISAnonymous

yep.

Sorry about this

tmcsys Thursday 26 November 2015 at 23:15
tmcsysAnonymous

The missing library is libfreetype.6.dylib.  In Snow Leopard it was found in /usr/lib; it's gone in El Capitan.  

You can link it from X11.  You can't link to /usr/lib any more because of Apple's new "System Integrity Protection" (don't get me started.)  But you can link to /usr/local/lib.

/usr/local/lib:

libfreetype.6.dylib -> /opt/X11/lib/libfreetype.6.dylib
libfreetype.dylib -> libfreetype.6.dylib

After linking libfreetype as above I'm able to run WTL 2014 on El Capitan using POM 4.2.6 with no problems.

 

 

vusheth Friday 27 November 2015 at 11:31
vushethAnonymous

I have the same problem. Is it a good idea to update XQuartz?

tmcsys Friday 27 November 2015 at 20:23
tmcsysAnonymous

I installed the latest XQuartz along with El Capitan, then ran Migration Assistant after that to install POM with WTL installed (from Mountain Lion).  

You will still have to link the libraries:

cd /usr/local/lib

sudo ln -s /opt/X11/lib/libfreetype.6.dylib libfreetype.6.dylib

sudo ln -s libfreetype.6.dylib libfreetype.dylib

 

Edited by tmcsys