From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. rpm -U fontconfig-0.0.1.020811.1151-6.i386.rpm Actual Results: error: execution of %post scriptlet from fontconfig-0.0.1.020811.1151-6 failed, exit status 127 Expected Results: Fontconfig installs Additional info: Running fc-cache manually results in this error message: fc-cache: relocation error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Get_Next_Char
Should be fixed by fontconfig-0.0.1-020811.1151-7
Sorry, the bug remained with 1151-7 :( # rpm -U fontconfig-0.0.1.020811.1151-7.i386.rpm error: execution of %post scriptlet from fontconfig-0.0.1.020811.1151-7 failed, exit status 127 # fc-cache fc-cache: relocation error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Get_Next_Char
Sounds like you have another copy of libfreetype.so.6 on your system not coming from your installed freetype RPM. ldd /usr/bin/fc-cache May help you track down what it is.(Also check rpm -V freetype.)
# ldd /usr/bin/fc-cache libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4001a000) libc.so.6 => /lib/libc.so.6 (0x4003d000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40146000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4017a000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) # rpm -V freetype <no output> # rpm -q freetype freetype-2.0.5-3 (i may have an old freetype, XFree86-xfs requires /usr/bin/ttmkfdir, this is why i didn't upgrade freetype to 2.1.2)
Forced install of freetype fixed the problem...
The change in fontconfig-0.0.1.020811.1151-7 was to add: Requires: freetype >= 2.1.2-2 So I don't really understand how you were executing the above lines like 'rpm -U fontconfig-0.0.1.020811.1151-7.i386.rpm' without having --nodeps on the command line... But anyways, sounds like things are working for you now.