[Fontconfig] xfwm (an others) failing after fontconfig 2.1 install

William Trenker fontconfig@fontconfig.org
Wed, 22 Jan 2003 14:04:33 -0800


Yesterday I was trying to build unixODBC which requires the Qt libraries.  
unixODBC's ./configure script does a test compile with certain Qt headers to 
check if Qt is installed.  The test script was failing with all sorts of 
undefined symbols that turned out to be missing because -lXft and 
-lfontconfig weren't specified in the script.  (Apparently those libraries 
weren't needed with older versions of Qt.)  In order to fix this I 
downloaded and built fontconfig 2.1.  I then adjusted the ./configure to 
specify the additional libraries and I got the missing symbols resolved.

Now, this morning, I go to boot up and find my xinit fails with this 
message:
xfwm: relocation error: /usr/X11/lib/libXft.so.1: undefined symbol: 
FcPatternCreate

A quick check with objdump shows that FcPatternCreate is defined in 
libfontconfig.so. So it looks like I have to get an updated xfwm that is 
linked with the newer fontconfig. Is that right?

Meanwhile, how do I revert to an older version of fontconfig so I can get 
operational again?

Oh,Oh. Just now I tried the qtconfig command to verify the version of Qt I 
have (it's libqt-mt.so.3.1.0) and I get this:
qtconfig: relocation error: /usr/X11/lib/libXft.so.2: undefined symbol: 
FcInit

This ship is sinking fast!

SOS,
Bill




_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail