Building of my program end like this: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o libkpainter.la.closure libkpainter_la_closure.lo -L/usr/X11R6/lib -L/usr/lib -version-info 1:0:0 -no-undefined kpainter.lo kcolor.lo kstroke.lo kfill.lo kshape.lo kgradient.lo ksegment.lo kgstate.lo kpattern.lo kvectorpath.lo libartpaintdevice.lo qpainterpaintdevice.lo art_render_misc.lo art_rgb_svp.lo art_render_pattern.lo art_rgb.lo kpoint.lo krect.lo ksize.lo testpaintdevice.lo kfont.lo -R /usr/lib -R /usr/X11R6/lib -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -L/usr/lib -lart_lgpl_2 -lm -lfreetype -lfontconfig ./xrgbrender/libkarbonxrgbrender.la libtool: link: warning: `-version-info' is ignored for programs .libs/kfont.o(.text+0x422): In function `KFont::run()': : undefined reference to `FcPatternGetFTFace(_FcPattern const*, char const*, int, FT_FaceRec_**)' collect2: ld returned 1 exit status make[2]: *** [libkpainter.la.closure] B??d 1 make[2]: Opuszczenie katalogu `/home/users/tomek/kde/cvs/kdenonbeta/kpainter/kpainter' make[1]: *** [all-recursive] B??d 1 make[1]: Opuszczenie katalogu `/home/users/tomek/kde/cvs/kdenonbeta/kpainter/kpainter' make: *** [all-recursive] B??d 1 As you can see the program (library) is linked with both freetype and fontconfig (-lfreetype -lfontconfig), and FcPatternGetFTFace symbol is in fontconfig library: $ nm -D /usr/lib/libfontconfig.so|grep FcPatternGetFTFace 00018f70 T FcPatternGetFTFace So what's wrong? Only symbols from fontconfig/fcfreetype.h cause such problems (fontconfig/fontconfig.h is ok). Tomek