Martin Dietz wrote:
Someone please take a look at this: I still can't built the GTk version of
LyX using GTK2.8
The references the linker complaints about are clearly there:
3(NXDOMAIN):~/lyx-devel # sudo ldconfig -v | grep -i xft
libXft.so.2 -> libXft.so.2.1.2
libXft.so.1 -> libXft.so.1.1
libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.1000.0
3(NXDOMAIN):~/lyx-devel # nm /usr/X11/lib/libXft.a | grep XftDrawDestroy
000004c0 T XftDrawDestroy
...
/root/lyx-devel/src/frontends/gtk/xftFontLoader.C:78: undefined reference
to `XftFontClose'
frontends/gtk/.libs/libgtk.a(xftFontLoader.o): In function
`xftFontLoader::doLoad(LyXFont::FONT_FAMILY, LyXFont::FONT_SERIES,
LyXFont::FONT_SHAPE, LyXFont::FONT_SIZE)':
Clearly, the problem here is that Xft functions are used, but lyx isn't
linking against libXft. The fix is IMO simple, append -lXft at the link
step.
-- Rex