KPluginLoader: LD_LIBRARY_PATH Issues

Alexander Neundorf neundorf at kde.org
Mon Jan 14 21:38:34 GMT 2008


On Monday 14 January 2008, Thiago Macieira wrote:
> 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.

Yes, and I think we checked just that on IRC and everything seemed to be right 
(the plugin had the KDE4 lib dir as RPATH)

Alex




More information about the kde-core-devel mailing list