cmake and installed binaries

David Faure faure at kde.org
Fri Feb 3 16:21:16 CET 2006


I thought cmake had a solution for "running uninstalled binaries" (like our kconfig_compiler program),
while still being able to run installed binaries of course.

But at the moment, uninstalled binaries link to the libs in the builddir, and when installing
they still do that - not good...

/devel/kde/build/4/kdelibs4_cmake> ldd bin/kconfig_compiler| grep kdecore
        libkdecore.so.4 => /devel/kde/build/4/kdelibs4_cmake/lib/libkdecore.so.4 (0xb7b4d000)

/> ldd /usr/local/bin/kconfig_compiler| grep kdecore
        libkdecore.so.4 => /devel/kde/build/4/kdelibs4_cmake/lib/libkdecore.so.4 (0xb7b51000)

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH doesn't change that.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list