cmake news: RPATH, kdevelop projects, finding kdelibs

Alexander Neundorf neundorf at kde.org
Fri Mar 17 16:09:42 GMT 2006


On Friday 17 March 2006 10:05, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >"install" - (not on OS X)
> >Compile with RPATH set to the installation directory, the kde library
> >directory and the Qt library directory.
> >To run the executables during the build, simple wrapper shell scripts
> > are created which set (DY)LD_LIBRARY_PATH accordingly.
>
> Do you pass the -Wl,--enable-new-dtags linker option to g++ during
> linking? If you don't, you know by now that setting LD_LIBRARY_PATH has
> no effect if you used RPATH, on most distros anyways.
>
> Anyways, why isn't this option the default and why can't OS X deal with
> it?

Because AFAIK under OS X  RPATH does not exist, but instead install_name. I 
guess for OS X the now-defautl behaviour is just right (supposed I did it 
correctly, which is probably not the case since I cannot test it)

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-core-devel mailing list