Wine unable to locate DLL file

Questions about Wine on Linux
Locked
subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Wine unable to locate DLL file

Post by subhan222 » Wed Aug 15, 2012 4:29 am

Hi,

I am trying to run an exe file, located on a USB. the required dll is on USB as well. what exactly happening is when i run exe file wine promtps a message saying:

Cannot find XXXXX.DLL, Application cannot start. This instance is exiting.

just to clarify a bit more: USB Contains:

abc.exe
XXXXX.DLL
YYYYY.DLL
ZZZZZ.DLL

can someone help?

I have also tried copying this DLL to the system, system32 and Common Files. also i can see USB device under dosdevices and tried running this exe file from there but still same error message.

Thanks

Wine 1.4.1 (compiled/installed from source code)
OpenSUSE 11.3

if you want to know anything else about the configurations, let me know.

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine unable to locate DLL file

Post by vitamin » Wed Aug 15, 2012 7:26 am

Please post complete terminal output.

subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Re: Wine unable to locate DLL file

Post by subhan222 » Wed Aug 15, 2012 8:07 am

i typed: wine abc.exe
Kosole output is:

fixme:advapi:RegisterEventSourceW ((null),L"LCK"): stub
fixme:advapi:ReportEventSource(0xcafe4242,0x0004,0x0000,0x43000001,(nil),0x0000,0x00000000, (nil),(nil)):stub

------------- then Error message box was displayed ---- after clicking ok following line added to the konsole-------

fixme:advapi:DeregisterEventSource (0xcafe4242) stub

that is it...

do i have to recompile wine with new dll added ? (i guess not)

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine unable to locate DLL file

Post by vitamin » Wed Aug 15, 2012 8:19 pm

subhan222 wrote:do i have to recompile wine with new dll added ?
No.
What's the full name of the dll(s) your program are looking for?

subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Re: Wine unable to locate DLL file

Post by subhan222 » Thu Aug 16, 2012 4:22 am

does it really matter ..... I dont think so..

name of DLL ?

Its a third party application...called Lumension and DLL name is SXPKIDLL.DLL

When you ask question, can you please also explain why you asking this question. This will at least make me aware what exactly your approach is and next time i will be able to handle it by myself.

Though this forum is really slow,... to get a APPROVED reply, one have to wait for a day and after that time if response is like ,.... konsole dump and dll name ,.... not helpful at all...

but i really appreciate that at least you bothered to reply,... thank you.

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine unable to locate DLL file

Post by vitamin » Thu Aug 16, 2012 7:41 am

subhan222 wrote:does it really matter
It does. If those were a standard MSVC run-time libraries they might not load correctly from the current directory because of Wine's problem with interpreting manifest.

In your case, it seems to be the same problem but with 3rd party dlls. I'm afraid you'll have to open a bug in bugzilla and provide additional information you'll be asked for.

subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Re: Wine unable to locate DLL file

Post by subhan222 » Thu Aug 16, 2012 7:49 am

To be honest,... i dont expect WINE to include every dll especially 3rd party dlls and where the licensing is also required....

though agree to have funtionality to correctly load any linked dll...

Not really sure about the way it works in terms of loading dlls for an executable...

But anyhow i am happy to report this as a bug,,...

i take your response as there is no current solution for this problem...

any configuration setup or any slight changes to the code ? any suggestions on this ?

Thanks for your support ...

subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Re: Wine unable to locate DLL file

Post by subhan222 » Thu Aug 16, 2012 8:02 am

Bug 31481 has been added to the database

lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Wine unable to locate DLL file

Post by lahmbi5678 » Thu Aug 16, 2012 12:25 pm

Hi,

you could try latest wine version (1.5.10, soon 1.5.11), in your bug report you'll be asked to do so anyway. If there's a free demo/trial version of your app available, you could add a link in the bug report.

subhan222
Level 1
Level 1
Posts: 6
Joined: Wed Aug 15, 2012 3:36 am

Re: Wine unable to locate DLL file

Post by subhan222 » Wed Aug 22, 2012 4:29 am

Thanks for your reply...

Yes i downloaded the factory build 1.5.10 and recompiled.... but no joy,... exactly same error message.

I am not sure, if there is a trial versio of app is available, though if it would,.. it can be accessed from web, just google Lumension

Locked