problem with klibloadertest

Ralf Habacker ralf.habacker at freenet.de
Mon Mar 6 22:29:58 CET 2006


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

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.

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.

# F:/daten/kdelibs/bin/libklibloadertestmodule.la - a libtool library 
file, generated by cmake
# The name that we can dlopen(3).
dlname='libklibloadertestmodule.dll'
# Names of this library
library_names='libklibloadertestmodule.dll libklibloadertestmodule.dll 
libklibloadertestmodule.dll'
# The name of the static archive
old_library=''
# Libraries that this one depends upon.
dependency_libs=''
# Version information.
current=0
age=0
revision=0
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='C:/Programme/kdelibs/lib/kde4'

Ralf



More information about the Kde-buildsystem mailing list