--as-needed problem

Anne-Marie Mahfouf annemarie.mahfouf at free.fr
Thu Nov 18 12:41:38 GMT 2004

On November 18, 2004 05:51 am, David Faure wrote:
> On Wednesday 10 November 2004 19:58, Stephan Kulow wrote:
> > The situation with as-needed is a bit different: it can actually break
> > something, but we're not sure yet what.
> I'm not sure if it's due to as-needed, but I have a strong suspicion that
> it is. I can't compile kdebase anymore, because when linking something in
> kicker it finds /usr/lib/kdecore.so and /usr/lib/qt3/lib/libqt-mt.so
> instead of the ones it should use ($KDEDIR/lib/kdecore.so and
> $QTDIR/lib/libqt-mt.so), which always worked. The symptom was simply some
> undefined kdecore and qt symbols (because the system kdecore is older and
> because my own qt is BIC on purpose), but using -Q -v -Wl,-t in the link
> line showed that it was picking up the wrong libs (in addition to the right
> ones further down).

I had exactly the same problem starting a few days ago. As everyone else 
seemed fine, I kept my rantings for me (was hard), I removed all other 
qt-and-kde-old-libs on my machine and got new kdebase sources and restarted 
from there.
Defifnitively something has been/is wrong. 


More information about the kde-core-devel mailing list