rpath issues (strigi is wrong on OSX)

Alexander Neundorf neundorf at kde.org
Mon Mar 12 18:14:08 CET 2007

On Monday 12 March 2007 16:41, Benjamin Reed wrote:
> What does KDE do for the rpath stuff on OSX?  I'm having a hard time
> figuring out what does what...
> I ask because there are issues with Strigi and OSX, because cmake is
> not setting a proper rpath on the libraries it creates:

Does OS X actually have RPATH ? I thought it only supports the install_name 
thingy. How should it behave ?

>  /usr/bin/ld: warning can't open dynamic library: libstreams.0.dylib
> referenced from: /opt/kde4/lib/libstreamindexer.dylib (checking for
> undefined symbols may be affected) (No such file or  directory, errno
> = 2)
> Should the rpath stuff be broken out into some other cmake module that
> things like strigi and QCA2 can import so that things "just work" the
> way they do for kdelibs and up?

It's not much to do, it's just setting the correct combination of some 
properties. Searching for RPATH in FindKDE4Internal.cmake and 
KDE4Macros.cmake shows you everything.

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