On Thursday 18 November 2004 15:05, Thiago Macieira wrote: > David Faure wrote: > [from the command-line:] > > -lXtst /mnt/devel/kde/kdecvs/build/kdebase/libkonq/.libs/libkonq.so > > /mnt/devel/kde/kdedir/lib/libkparts.so -L/usr/lib/qt3/lib > > /usr/lib/libkdecore.so /usr/lib/libDCOP.so /usr/lib/libkdefx.so > > Notice that your command-line contains the reference > to /usr/lib/libkdecore.so, instead of -lkdecore Indeed. Some this comes from a .la ..... yay, found it - it was the new kdebase/kdmlib which lacked a $(all_libraries). Apologies to Szombathelyi - this was indeed completely unrelated to -as-needed. (I got the kdeui problem due to -as-needed though... I really think -as-needed should only be enabled by packagers) > In any case, I've learnt from experience that building a new KDE with the > same prefix as one that is already installed is not a good thing. ? I'm building it into another prefix (than /usr). > But mostly I have found that libtool is to blame if the wrong libraries > get picked up. It will sometimes store wrong library names in its .la > files -- as well as absolute pathnames instead of -lsomething. Yep. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).