Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338413 - app-emulation/emul-linux-x86-xlibs: libfontconfig.so.1: undefined symbol: FT_Load_Sfnt_Table
Summary: app-emulation/emul-linux-x86-xlibs: libfontconfig.so.1: undefined symbol: FT_...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 07:19 UTC by bogdan
Modified: 2010-09-27 21:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,5.46 KB, text/plain)
2010-09-27 20:12 UTC, bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bogdan 2010-09-23 07:19:13 UTC
every program that links to libfontconfig does not start, with the above error. 
i'm using emul-linux-x86-xlibs-20100915, but previous packages have the same behaviour. 
ldd libfontconfig.so.1 doesn't point out to any missing library. 

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-09-27 20:01:55 UTC
I am unable to reproduce, please provide "emerge --info" and "layman -l" outputs
Comment 2 bogdan 2010-09-27 20:12:40 UTC
Created attachment 248826 [details]
emerge --info
Comment 3 bogdan 2010-09-27 20:18:25 UTC
layman -l outputs nothing 
Comment 4 bogdan 2010-09-27 20:24:16 UTC
this is what I get if I run a 32 bit app
$ wine notepad.exe 
This version of Wine was compiled with freetype headers later than 2.2.0
but is being run with a freetype library without the FT_Load_Sfnt_Table function.
Please upgrade your freetype library.

I only have a 64 bit freetype library. I've reemerged freetype but only libraries from /usr/lib64/ are changeing 

$equery belongs /usr/lib32/libfreetype.so.6.6.0
[ Searching for file(s) /usr/lib32/libfreetype.so.6.6.0 in *... ]
app-emulation/emul-linux-x86-xlibs-20100915 (/usr/lib32/libfreetype.so.6.6.0)

so I can't figure out what's wrong on my system that I receive this FT_Load_Sfnt_Table error. 

thank you
Comment 5 Pacho Ramos gentoo-dev 2010-09-27 20:25:20 UTC
Please follow Jakub's suggestions in http://bugs.gentoo.org/show_bug.cgi?id=195341 , maybe you have some broken and old 32 bits lib that is causing this...
Comment 6 Pacho Ramos gentoo-dev 2010-09-27 20:31:00 UTC
And also show the following output:

$ ldd /opt/firefox/firefox-bin 
Comment 7 bogdan 2010-09-27 20:35:18 UTC
(In reply to comment #5)
> Please follow Jakub's suggestions in
> http://bugs.gentoo.org/show_bug.cgi?id=195341 , maybe you have some broken and
> old 32 bits lib that is causing this...
> 

thank you, this solved it 
I had an old freetype library which was located in /lib32/libfreetype.so.6 
 readelf -s   /lib32/libfreetype.so.6 | grep FT_Load
    53: 0000a9dc   643 FUNC    GLOBAL DEFAULT   11 FT_Load_Glyph
   173: 0000ac64    82 FUNC    GLOBAL DEFAULT   11 FT_Load_Char
readelf -s /usr/lib32/libfreetype.so.6 | grep FT_Load
   149: 0000eca0    88 FUNC    GLOBAL DEFAULT   10 FT_Load_Char
   258: 000093c0   143 FUNC    GLOBAL DEFAULT   10 FT_Load_Sfnt_Table
   352: 0000e6d0  1479 FUNC    GLOBAL DEFAULT   10 FT_Load_Glyph

so I've renamed the first one, and now libfontconfig link to the second one. 
problem is now fixed. thank you 

Comment 8 Pacho Ramos gentoo-dev 2010-09-27 20:53:12 UTC
This bug was invalid then ;-)
Comment 9 bogdan 2010-09-27 21:14:23 UTC
(In reply to comment #8)
> This bug was invalid then ;-)
> 

yes you're right. however, I must thank you for pointing me to that bug, cause I had no idea where to look in order to solve this issue.
thank you once again for your availability and kindly help