KPluginLoader: LD_LIBRARY_PATH Issues

Thiago Macieira thiago at kde.org
Sat Jan 12 21:48:44 GMT 2008


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

>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.

>I have already looked at this problem with Alexander Neuendorf if it
> could be an rpath issue. After some tests, we came to the conclusions
> that this should not be the problem.
>
>Any ideas if that is a problem on my setup? Can anybody else reproduce
> this issue?

It should be a "lack-of-rpath" issue.

-- 
  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/20080112/c1dec0c6/attachment.sig>


More information about the kde-core-devel mailing list