[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#215529: openoffice.org: relocation error: FT_Get_PS_Font_Info undefined



On Mon, Oct 13, 2003 at 11:20:56AM +0200, Matija Grabnar wrote:
> On every attempt at startup, I get the following error message:
> /usr/lib/libfontconfig.so.1: undefined symbol: FT_Get_PS_Font_Info
> setup failed.. abort

This looks more like a libfontconfig/libfreetype problem than an openoffice
problem.

Please give us the output of the following commands:

-----------------
dpkg -l libfontconfig1 libfreetype6
nm -o -D /usr/lib/libfreetype.so.6 /usr/lib/libfontconfig.so.1 | grep FT_Get_PS_Font_Info
ldd -d /usr/lib/libfontconfig.so.1
-----------------

This is what I see on an unstable system:

# dpkg -l libfontconfig1 libfreetype6
[...]
ii  libfontconfig1            2.2.1-4                   generic font configuration library (shared library)
ii  libfreetype6              2.1.5-2                   FreeType 2 font engine, shared library files

# nm -o -D /usr/lib/libfreetype.so.6 /usr/lib/libfontconfig.so.1 | grep FT_Get_PS_Font_Info
/usr/lib/libfreetype.so.6:00015b20 T FT_Get_PS_Font_Info
/usr/lib/libfontconfig.so.1:         U FT_Get_PS_Font_Info

(libfontconfig lists the symbol as undefined; libfreetype defines the
symbol.)

# ldd -d /usr/lib/libfontconfig.so.1
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4002e000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40098000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x400a7000)
        libc.so.6 => /lib/libc.so.6 (0x400c4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

(libfontconfig links to libfreetype and there are no missing symbols.)

> I had initialy set openoffice.org to prelink the files. 
> Later I used dpkg-config to turn prelinking off, but that had no effect, 
> the error still appears on every startup of openoffice.org

Does reinstalling libfontconfig1 and libfreetype6 solve the problem?

Chris

Attachment: pgpELX9sSn9CD.pgp
Description: PGP signature


Reply to: