KPluginLoader: LD_LIBRARY_PATH Issues

Thiago Macieira thiago at kde.org
Sun Jan 13 07:50:24 GMT 2008


Urs Wolfer wrote:
>On Saturday 12 January 2008 22:48:44 Thiago Macieira wrote:
>> Urs Wolfer wrote:
>> >Hi
>> >
>> >If LD_LIBRARY_PATH has not been exported, KPluginLoader has sometimes
>> > issues to load plugins. This is the case if a plugin depends on
>> > another library.
>>
>> Solutions:
>> 1) add the paths to /etc/ld.so.conf
>> 2) use rpath
>
>I think rpath is enabled by default now? Alex checked that in my lib and
> told me that it should be ok.

It should be. And RUNPATH should be enabled too.

>> >You can see this behavior with the SuperKaramba plugin in plasma or
>> > the KGet torrent plugin, which links agains the ktorrent library.
>> > These plugins cannot be loaded when LD_LIBRARY_PATH has not been
>> > set.
>>
>> 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.

-- 
  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/20080113/1fec6d65/attachment.sig>


More information about the kde-core-devel mailing list