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

William Trenker wtrenker at hotmail.com
Thu Jan 23 09:04:33 EST 2003

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 
xfwm: relocation error: /usr/X11/lib/libXft.so.1: undefined symbol: 

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: 

This ship is sinking fast!


STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   

More information about the Fontconfig mailing list