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

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



> dpkg -l libfontconfig1 libfreetype6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                        Version                     Description
+++-===========================-===========================-======================================================================
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

> ldd -d /usr/lib/libfontconfig.so.1
ldd -d /usr/lib/libfontconfig.so.1
        libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40038000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4006c000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x4007b000)
        libc.so.6 => /lib/libc.so.6 (0x40098000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

>  ls -l /usr/local/lib/libfreetype.so.6
lrwxrwxrwx    1 root     staff          20 Mar 23  2001 /usr/local/lib/libfreetype.so.6 -> libfreetype.so.6.0.1
pugled:/home/matija/kernel# ls -l /usr/local/lib/libfreetype.so.6.0.1 
-rwxr-xr-x    1 root     staff      724195 Mar 23  2001 /usr/local/lib/libfreetype.so.6.0.1

Aha! Yes, you could be right. Disabling the library in /usr/local:

pugled:/usr/local/lib# ls -l libfre*
-rw-r--r--    1 root     staff     1238116 Mar 23  2001 libfreetype.a
-rwxr-xr-x    1 root     staff      724195 Mar 23  2001 libfreetype.disabled.so.6.0.1
-rwxr-xr-x    1 root     staff         666 Mar 23  2001 libfreetype.la
lrwxrwxrwx    1 root     staff          25 Oct 13 12:25 libfreetype.so -> /usr/lib/libfreetype.so.6
lrwxrwxrwx    1 root     staff          25 Oct 13 12:24 libfreetype.so.6 -> /usr/lib/libfreetype.so.6

And now it works.

It was my fault, thank you very much for the help, and sorry for the 
trouble.

Best regards,
         Matija



Reply to: