troubles with fontconfig and gtk+-2

Hendrik Visage hvisage at envisage.co.za
Wed Aug 13 10:58:37 GMT 2003


Get troubles during the test for -lX11 in the configure of gtk+-2,
but looking inside the configure.log file, it's actually related to 
fontconfig/render and friends :(

Notice below that the moment fontconfig & freetype are on the same line, then you have undefined references.

Anybody care to please explain how to  get around this??

Thanx
Hendrik

root at meklon:/usr/src/gtk+-2.2.2# gcc -o conftest -O2 -Wall conftest.c -lX11 -L/usr/X11R6/lib -lXft -lfontconfig
root at meklon:/usr/src/gtk+-2.2.2# gcc -o conftest -O2 -Wall conftest.c -lX11 -L/usr/X11R6/lib -lXft -lfontconfig -lfreetype
/usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_Next_Char'
collect2: ld returned 1 exit status
root at meklon:/usr/src/gtk+-2.2.2# gcc -o conftest -O2 -Wall conftest.c -lX11 -L/usr/X11R6/lib -lXft -lfreetype -lfontconfig           
/usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_Next_Char'
collect2: ld returned 1 exit status


More information about the lunar mailing list