[Bug 21778] New: Would like WINEDLLPATH for user DLLs

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 20 08:28:59 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21778

           Summary: Would like WINEDLLPATH for user DLLs
           Product: Wine
           Version: 1.0.1
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sam at robots.org.uk


I'm cross compiling some software on a Linux build environment for a Windows
host. As part of that process I'd like to be able to run the test suite via
Wine.

As part of the build process, I populate a DLL directory with symlinks to all
the various DLLs required by the compiled executables. I thought that adding
this to the PATH environmant variable would cause Wine to find the DLLs, but
this is does not appear to be the case.

Here's an example:

$ ls -l dlls
-rwxr-xr-x 1 sam sam 266749 2010-02-20 14:20 libgcc_s_sjlj-1.dll

$ PATH=$PATH:dlls wine a.exe
err:module:import_dll Library libgcc_s_sjlj-1.dll (which is needed by
L"Z:\\tmp\\a.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\tmp\\a.exe"
failed, status c0000135

So I'd like to request that an environment variable be added that contains
additional directories that will be added to the DLL search path.

Coping the DLLs into the build tree to run the tests is inconvenient because
there are test executables all over the build tree, and hacking the various
build systems to perform the copying, then removing the DLLs again would be
quite tricky.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list