24 Jun, 2006
A working solution for libfreetype6 & OOo bug
Posted by: Julien @ 8:54 pm
Thanks to Nikita V. Youshchenko for providing a solution to “fix” the bug(s) that currently hits libfreetype6 and OOo in Debian.
Here is his proposal:
- putting a copy of older libfreetype6.so.6 somewhere in the filesystem,
- starting OOo with path to that library added to LD_PRELOAD variable.
You can download the older version of libfreetype from snapshots.debian.net and use dpkg -x to extract the package locally and find the libfreetype6.so.6 file.
I would encourage using dpkg-divert before modifying /usr/bin/ooo-wrapper so that a newer release do not simply erase your changes:
sudo dpkg-divert --add --local --rename /usr/bin/ooo-wrapper
Then add $ENV{'LD_PRELOAD'} = "/usr/local/freetype2.1/libfreetype.so.6"; at the top of this file.
You will find here some information about me and my different projects. I am involved in several open source projects, and try to promote Free software. This site is thus mainly dedicated to Free Software use on GNU/Linux systems. Please do not hesitate to