RPATH problems in kdelibs
Thiago Macieira
thiago at kde.org
Mon Dec 11 00:23:13 CET 2006
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
More information about the Kde-buildsystem
mailing list