KPluginLoader: LD_LIBRARY_PATH Issues
uwolfer at kde.org
Mon Jan 14 18:28:39 GMT 2008
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:
> >> 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.
Ahh, sorry. It's located here:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel