Thursday, December 13, 2012

Fix wine for Ubuntu 11.04

NOTICE, wine runs WinDLX without problem on Ubuntu 11.10 and above, one can choose upgrading to 11.10 or higher (I did so). The following may disturb your default fontconfigure setting.

When running WinDLX via wine, winevdm.exe says encountering problem and needs to close. Backtraces lead to libfontconfig.so

The Fix

Download the following package

http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.8.0.tar.gz

Install the needed packages

libfreetype6-dev 
libfreetype6 
libxml2 
libxml2-dev

Unzip the download package, compile the package

  ./configure 
make 

Back up the original copies

cd /usr/lib32/ 
sudo cp libfontconfig.so libfontconfig.so.back
... 

Copy these files into /usr/lib32

fontconfig-2.8.0/src/.libs/libfontconfig.so 
fontconfig-2.8.0/src/.libs/libfontconfig.so.1 
fontconfig-2.8.0/src/.libs/libfontconfig.so.1.4.4

Remind the above fix affects the system font configuration. TO recover the old settings, please restore the backup files.

No comments:

Post a Comment