Bug 156158 - KDE applications have trouble loading libraries on Windows
Summary: KDE applications have trouble loading libraries on Windows
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 07:16 UTC by Shinobu Maehara
Modified: 2008-03-10 12:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinobu Maehara 2008-01-19 07:16:54 UTC
Version:            (using KDE 4.0.0)
Installed from:    MS Windows Binaries
OS:                MS Windows

KDE applications that need to dynamically load DLL's appear to have trouble doing so. This makes it impossible to use most applications, e.g. Konqueror, KWrite, and others. You get error messages like:

There was an error loading the module KHTML.
The diagnostics is:
QLibrary::load_sys: Cannot load C:/Program Files/KDE/lib/kde4/libkhtmlpart.dll (Kan opgegeven module niet vinden.)
["Kan opgegeven module niet vinden." means "Can't find specified module."]

It's strange because the file in question does exist and at least at first sight appears to be a valid DLL. When I opened it with the Dependency Walker, I saw the following:
LIBKDECORE.DLL - not found
LIBKHTML.DLL - not found
LIBKPARTS.DLL - not found
QTCORE4.DLL - not found
KERNEL32.DLL - OK
LIBKHTMLPART.DLL - OK
MSVCRT.DLL - OK
NTDLL.DLL - OK
However, all the "missing" libraries can be found in "C:\Program Files\KDE\bin" so that can't be the problem.
Comment 1 Christian Ehrlicher 2008-01-28 21:32:02 UTC
Use Dependency Walker to see if really all needed libs are installed. 0.8.5 has an error to not install all dependency libs (broken download)
Comment 2 Bernie Bamboo 2008-03-10 12:00:36 UTC
Hi,

I think I resolved the problem with libkhtmlpart.dll. Just replace libkhtmlpart.dll by the file khtmlpart.dll which resides in the same directory.

Konqueror should then start normally, at least it does in my case. However, all the .exe files can not be launched.

Greetings,
bamboobernie