From kde-core-devel Thu Nov 18 12:41:38 2004 From: Anne-Marie Mahfouf Date: Thu, 18 Nov 2004 12:41:38 +0000 To: kde-core-devel Subject: Re: --as-needed problem Message-Id: <200411180741.39015.annemarie.mahfouf () free ! fr> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110078175020311 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. Anne-Marie