On Thu, Sep 06, 2007 at 11:21:51AM +0200, Jean-Marc Lasgouttes wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > Jean-Marc Lasgouttes wrote: > >> Enrico Forestieri <[EMAIL PROTECTED]> writes: > >> > >>> Anyway, I was getting the same failure on solaris and the attached > >>> patch solves the problem for me. > >> > >> Please do not apply the patch right now. I think it is better to link > >> libsupport against QT_LIB instead of QT_CORE_LIB. > > > > Surely you mean the opposite aren't you? > > No, actually, what I mean is really the patch below.
Doesn't work on solaris, even if QT4_LIB in src/client/Makefile does indeed lists -lfontconfig among the others. Seems that you should use lyxclient_LDADD and tex2lyx_LDADD. g++ -O3 -Wl,-R/opt/lib -Wl,-R/usr/X11/lib -o lyxclient boost.o client.o debug.o gettext.o Messages.o -L/opt/lib -L/usr/X11/lib ../../src/support/.libs/liblyxsupport.a -L/opt/qt4/lib -L/usr/sfw/lib /opt/qt4/lib/libQtCore.so -lpthread -lrt -ldl -L/usr/ccs/bin ../../boost/.libs/liblyxboost.a /usr/sfw/lib/libstdc++.so ../../intl/libintl.a -laspell -lSM -lICE -lz -L/usr/openwin/lib -lX11 -lsocket -lnsl -Wl,-R -Wl,/opt/qt4/lib -Wl,-R -Wl,/usr/sfw/lib -Wl,-R -Wl,/opt/qt4/lib -Wl,-R -Wl,/usr/sfw/lib -Wl,-R -Wl,/usr/openwin/lib ld: attenzione:file /usr/sfw/lib/libstdc++.so: è stata tentata l'inclusione del file più di una volta Simbolo referenziato per primo non definito nel file FcConfigAppFontClear ../../src/support/.libs/liblyxsupport.a(os.o) FcConfigAppFontAddDir ../../src/support/.libs/liblyxsupport.a(os.o) ld: errore fatale:Errori di referenziazione dei simboli. Nessun output scritto in lyxclient collect2: ld returned 1 exit status make[2]: *** [lyxclient] Error 1 > I have been told that linking agaisnt QtGui when it is not needed does > not hurt. Is it true? Yes, it doesn't hurt. -- Enrico