KLibLoader nit: suffix vs. prefix

Allen Winter winter at kde.org
Thu Nov 1 21:38:44 CET 2007


On Thursday 01 November 2007 13:38:43 Alexander Neundorf wrote:
> On Thursday 01 November 2007, Matthias Kretz wrote:
> > On Thursday 01 November 2007, Allen Winter wrote:
> > > Howdy,
> > >
> > > I see messages like this when I run korganizer:
> > >
> > >   korganizer(22622)/kdecore (KLibLoader) findLibraryInternal: plugins
> > > shouldn't have a 'lib' suffix: "libkorg_journalprint.so"
> > >
> > > shouldn't we say "prefix' instead of "suffix" ?
> >
> > obvious typo ;-)
> >
Looks like Harri fixed this typo.

> > > we want korg_journalprint.so instead of libkorg_journalprint.so, right?
> >
> > yes, from what I learned this is necessary to make it work on windows.
>
> I'm not sure, but I don't think so, see current thread "WITH_PREFIX for
> kdemodules" on k-c-d.
>
Thiago seems to indicate that you can't have a library and a module of the
same name in a portable way.  Therefore, it seems to me that we need
to remove the "lib" prefix for all plugins.

Anyway, I plan to do so for the KOrganizer plugins.

-Allen





More information about the Kdelibs-bugs mailing list