KPluginLoader: LD_LIBRARY_PATH Issues

Thiago Macieira thiago at kde.org
Mon Jan 14 21:31:20 GMT 2008


Urs Wolfer wrote:
>On Sunday 13 January 2008 08:50:24 Thiago Macieira wrote:
>> Urs Wolfer wrote:
>> >On Saturday 12 January 2008 22:48:44 Thiago Macieira wrote:
>> >> Where are those plugins? I don't have everything built here.
>> >
>> >The KGet torrent lib is in /opt/kde4/lib/kde4 and the therefore
>> > required ktorrent lib is in /opt/kde4/lib.
>>
>> Sorry, I meant source code.
>
>Ahh, sorry. It's located here:
>trunk/KDE/kdenetwork/kget/transfer-plugins/bittorrent

Thank you. I have now built the plugin.

I cannot reproduce your problem.

$ echo $LD_LIBRARY_PATH

$ ldd $KDEDIR/lib/kde4/kget_bittorrentfactory.so | grep btcore
        libbtcore.so.1 => /home/tmacieir/KDE4/lib/libbtcore.so.1 
(0xb6b7c000)
$ objdump -p $KDEDIR/lib/kde4/kget_bittorrentfactory.so | grep RUNPATH
  
RUNPATH     /home/tmacieir/KDE4/lib:/home/tmacieir/obj/troll/qt-4.3/lib:/home/tmacieir/KDE4/lib

As you can see, the KDE library dir is listed and that's where libbtcore 
is.

-- 
  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: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080114/f4f59b3e/attachment.sig>


More information about the kde-core-devel mailing list