From kde-buildsystem Sun Dec 10 23:23:13 2006 From: thiago () kde ! org (Thiago Macieira) Date: Sun, 10 Dec 2006 23:23:13 +0000 To: kde-buildsystem Subject: RPATH problems in kdelibs Message-Id: <200612110023.15885.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=116644632533682 Alexander Neundorf wrote: >On Saturday 09 December 2006 20:57, Thiago Macieira wrote: >... > >> I'm still facing this problem and now I have no idea how to solve it. >> kdewidgets is being linked like this: >> >> /usr/bin/c++ -fPIC -O0 -g -W -fno-exceptions >> -fno-check-new -fno-common -Wl,--fatal-warnings -Wl,--no-undefined -lc >> -shared -Wl,-soname,kdewidgets.so -o ../lib/kdewidgets.so >> -L/usr/local/lib >> -L/home/thiago/obj/kde4/KDE/kdelibs/lib/. >> -L/home/thiago/obj/kde4/KDE/kdelibs/lib >> -L/home/thiago/obj/troll/qt-main/lib -L/lib -lkio - >> -Wl,-rpath,/home/thiago/KDE4/lib >> >> If I modify KDE4Macros.cmake and remove the INSTALL_RPATH "" part from >> KDE4_HANDLE_RPATH_FOR_LIBRARY, I get closer to my goal: >> >> /usr/bin/c++ -fPIC -O0 -g -W -fno-exceptions >> -fno-check-new -fno-common -Wl,--fatal-warnings -Wl,--no-undefined -lc >> -shared -Wl,-soname,kdewidgets.so -o ../lib/kdewidgets.so >> -L/usr/local/lib >> -L/home/thiago/obj/kde4/KDE/kdelibs/lib/. >> -L/home/thiago/obj/kde4/KDE/kdelibs/lib >> -L/home/thiago/obj/troll/qt-main/lib -L/lib -lkio - >> -Wl,-rpath,/home/thiago/KDE4/lib > >Where's the difference between these two ? None, since I pasted the wrong clipboard :-/ The first one shouldn't have had an -Wl,-rpath option. -- ? Thiago Macieira ?- ?thiago (AT) macieira.info - thiago (AT) kde.org ? ? PGP/GPG: 0x6EF45358; fingerprint: ? ? E067 918B B660 DBD1 105C ?966C 33F5 F005 6EF4 5358 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20061211/316cfe42/attachment.pgp