Linker search path problems?

Alexander Neundorf neundorf at kde.org
Thu Jun 5 19:33:33 CEST 2008


On Thursday 05 June 2008, Andreas Pakulat wrote:
> On 05.06.08 01:02:27, Alexander Neundorf wrote:
...
> > Inside kdelibs, KDE4_LIB_DIR is set equal to LIBRARY_OUTPUT_PATH. So as
> > soon as phonon was removed from kdelibs and this FindPhonon.cmake was
> > added, it searched for libphonon.so also in tge kdelibs build dir and
> > found it, since nobody had deleted the library file. Simply deleting the
> > library from disk doesn't change a lot, since the path is in the cache.
> > Deleting the library from disk (make clean) and removing the entry from
> > the cache should have helped.
>
> Thats exactly what I did and it did help. The only thing I'm not sure
> about is wether that phonon entry was there before I installed
> kdesupport/phonon or not. I suspect the latter, i.e. the entry was
> created before I installed kdesupport/phonon when kdelibs used its "old"
> phonon (as my qt-copy wasn't build with phonon either for an unknown
> reason)

It was created when FindPhonon.cmake was executed the first time, I'm quite 
sure.

> > (still this doesn't help everybody who has the bad path right now in his
> > cmake cache)
>
> Well, they can just remove old phonon, remove the cache and re-run
> cmake. Its not that much of a problem - IMHO...

Yes, I think so too.

Alex




More information about the Kde-buildsystem mailing list