problem with klibloadertest

Alexander Neundorf neundorf at kde.org
Mon Mar 6 23:09:15 CET 2006


Hi,

On Monday 06 March 2006 22:29, Ralf Habacker wrote:
> Hi all,
>
> the kdecore/tests/klibloadertest  fails, because there are differences
> in the used file pathes. klibloadertest expects the following pathes.
>
>     C:\Programme\kdelibs\bin\klibloadertestmodule.dll
>     C:\programme\kdelibs/lib/kde4/libklibloadertestmodule.la
>
> cmake places all this files into
>
>     <sourcedir>/kdecore/tests/libklibloadertestmodule.dll
>     <sourcedir>/kdecore/tests/libklibloadertestmodule.la

Really ?
They should go into <sourcedir>/kdecore/bin/ with mingw, see 
FindKDE4Internal.cmake, where LIBRARY_OUTPUT_PATH is set.

> beside the different pathes,  KLibloader searches for
> klibloadertestmodule.dll, although the dlname entry in the *.la file is
> named with the prefixed lib. It seems that some LTDL_... vars are not set.

So the name "libklibloadertestmodule.dll" is actually correct ?

> An additional look into the la file shows that this la file is the
> installed version (installed=yes), where in this state the uninstalled
> version should be used.

The la-file is written by the KDE4_INSTALL_LIBTOOL_FILE() macro which you can 
find in KDE4Macros.cmake. It just writes installed=yes.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list