KPluginLoader: LD_LIBRARY_PATH Issues
Urs Wolfer
uwolfer at kde.org
Sat Jan 12 22:12:58 GMT 2008
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.
> >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.
> >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.
Bye
urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080112/c297d1ab/attachment.sig>
More information about the kde-core-devel
mailing list