making sure the right libraries are found

Alexander Neundorf neundorf at kde.org
Tue Apr 4 20:57:04 CEST 2006


On Tuesday 04 April 2006 20:43, Brad King wrote:
> Brad King wrote:
> > Matt Rogers wrote:
> >>When attempting to build kdevelop with an older version of the installed
> >>library in the prefix, cmake/make/ld/whatever doesn't seem to pick up the
> >>right library to use. Rather than using the library I just built, it uses
> >> the previously installed one. Here's the output from make:
> >>
> >>Linking CXX executable kdevassistant
> >
> > [snip]
> >
> >>-L/home/kde/installs/trunk/lib -L/home/kde/trunk/build/KDE/kdevelop/lib
> >> -L/home/qt/4.1/lib -L/usr/local/lib -L/lib
> >
> > [snip]
> >
> >>-Wl,-rpath,/home/kde/installs/trunk/lib:/home/kde/trunk/build/KDE/kdevelo
> >>p/lib:/home/qt/4.1/lib:/usr/local/lib:/lib
> >
> > [snip]
> >
> >>How do I get this fixed?
> >
> > Clearly the link directories are listed in the wrong order.  This is
> > likely a CMake issue which I'll investigate.  It is supposed to
> > automatically compute a safe order but there is a bug in that it doesn't
> > take into account libraries that will be present after the project
> > builds. I don't know why no one has encountered this before.
>
> This is now fixed in CVS CMake.

Matt, can you please check whether this works for you ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list