Fwd: kdelibs compilation error

Tomas Vavra xtom.vavra at gmail.com
Sun Oct 10 14:17:38 CEST 2010


Hi David, Alexander,

I tried build two days ago with same result. Did you find any tip for me?

Thanks
Tomas

On Tue, Oct 5, 2010 at 2:57 PM, David Faure <faure at kde.org> wrote:

> On Sunday 03 October 2010, Alexander Neundorf wrote:
> > On Friday 01 October 2010, David Faure wrote:
> > > On Friday 01 October 2010, Tomas Vavra wrote:
> > > > I have problem with building kdelibs it always finishes with this
> > > > error: * [while linking kded4]
> > > > /backup/devel/kde4/build/kdelibs/lib/libnepomuk.so.4: undefined
> > > > reference to `Soprano::Vocabulary::NAO::userVisible()'
> >
> > It says "undefined reference", not that it couldn't find libsoprano ?
>
> That's because it's not even looking for libsoprano. There's no -lsoprano
> in
> the link line at all. So the undefined symbol is, well, still undefined.
>
> > Stupid question: might the be multiple versions of libsoprano on the
> > system, and a wrong one is used here ?
>
> No, we checked that. No libsoprano is being linked in at all.
>
> > I'll be on a business trip until Wednesday, so no time before that.
> > I'll have a look afterwards, but I'm always confused by Soprano and
> > friends.
>
> OK.
>
> > > I spent some time on IRC with Tomas, and I have no idea why he gets
> this
> > > error. Well, nepomuk and soprano are both missing on the link line, but
> > > why, and why not for others... (they are both present on my machine,
> when
> > > linking kded4).
> > >
> > > kio links to nepomuk and soprano just fine,
> > > then other things link ok, but then kded4 doesn't link because it links
> > > to kio, which links to nepomuk, and when this happens it fails as
> above,
> > > due to a missing -lsoprano. In fact -lnepomuk is missing too, but
> > > apparently it finds it as a direct dependency of libkio?
> >
> > Maybe some RPATH is missing somewhere ?
> > Somewhere I had a similar problem not too long ago...
>
> I don't think so, that would be a "lib not found", not a "not trying to
> link
> the lib at all".
>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Sponsored by Nokia to work on KDE, incl. Konqueror (
> http://www.konqueror.org).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20101010/447450c9/attachment.htm 


More information about the Kde-buildsystem mailing list