[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    RPATH problems in kdelibs
From:       thiago () kde ! org (Thiago Macieira)
Date:       2006-12-10 23:23:13
Message-ID: 200612110023.15885.thiago () kde ! org
[Download RAW message or body]

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<snip_flags> -fno-exceptions
> > -fno-check-new -fno-common -Wl,--fatal-warnings -Wl,--no-undefined -lc
> > -shared -Wl,-soname,kdewidgets.so -o ../lib/kdewidgets.so
> > <source_files> -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 -<lots_of_libs>
> > -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<snip_flags> -fno-exceptions
> > -fno-check-new -fno-common -Wl,--fatal-warnings -Wl,--no-undefined -lc
> > -shared -Wl,-soname,kdewidgets.so -o ../lib/kdewidgets.so
> > <source_files> -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 -<lots_of_libs>
> > -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 \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic