Trying to install ch i got: me@debian:~$ su Password: debian:/home/me# WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine /home/me/ch/ch.exe err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\system32\\shlwapi.dll") not found err:module:import_dll Library shlwapi.dll (which is needed by L"c: \\windows\\system32\\shell32.dll") not found err:module:import_dll Library SHELL32.dll (which is needed by L"Z: \\home\\francesco\\chemsk\\chemsk50.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"Z: \\home\\me\\chemsk\\ch.exe" failed, status c0000135 debian:/home/me# Then i copied to C:\wibndow\sestem32 the lacking SHELL32.dll (from the installation of ch on windows), getting the same list of errors. Then i replaced ole32.dll and shlwapi.dll in wine with those from the installation of ch on windows. Same list of errors. What am i missing? thank you for answering. me
On 4/29/06, Francesco Pietra <frapietra@alice.it> wrote:> > me@debian:~$ su > Password: > debian:/home/me# WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" > wine /home/me/ch/ch.exe err:module:import_dll Library ole32.dll > > What am i missing? >You shouldn't run wine as root. Assuming the next time you run as a regular user, have you copied native ole32.dll, oleaut32.dll and rpcrt4.dll to drive_c/windows/system32? -- James Hawkins
--- Francesco Pietra <frapietra@alice.it> a ?crit :> Trying to install ch i got: > > me@debian:~$ su > Password:dont run wine as root. dont run wine as root ? dont run wine as root !! Kind regards, Sylvain Petreolle (aka Usurp) --- --- --- --- --- --- --- --- --- --- --- --- --- Listen to free Music: http://www.jamendo.com Windows is proprietary, use free ReactOS instead : http://www.reactos.org
Den Sat, 29 Apr 2006 14:46:22 +0200 skrev Molle Bestefich:> Sylvain Petreolle wrote: >> > me@debian:~$ su >> > Password: >> dont run wine as root. >> dont run wine as root ? >> dont run wine as root !! > > Bah. Someone needs to implement something like 'application profiles' > that can limit any applications filesystem access, memory/cpu usage > and network access rights.That can be done. But no matter what, root will still be the way to override it all. Because it will always be necessary to override the system from time to time, and that role is called root. That's the only reason you need root in the first place - to override the system. /Kent -- Hard work may pay off in the long run, but laziness pays off right now.
On 4/28/06, Francesco Pietra <frapietra@alice.it> wrote:> Trying to install ch i got: > > me@debian:~$ su > Password: > debian:/home/me# WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" > wine /home/me/ch/ch.exe err:module:import_dll Library ole32.dll > (which is needed by L"c:\\windows\\system32\\shlwapi.dll") not found > err:module:import_dll Library shlwapi.dll (which is needed by L"c: > \\windows\\system32\\shell32.dll") not found > err:module:import_dll Library SHELL32.dll (which is needed by L"Z: > \\home\\francesco\\chemsk\\chemsk50.exe") not found > err:module:LdrInitializeThunk Main exe initialization for L"Z: > \\home\\me\\chemsk\\ch.exe" failed, status c0000135 > debian:/home/me# > > Then i copied to C:\wibndow\sestem32 the lacking SHELL32.dll (from the > installation of ch on windows), getting the same list of errors. Then i > replaced ole32.dll and shlwapi.dll in wine with those from the installation > of ch on windows. Same list of errors. > > What am i missing? > > thank you for answering. > meSometimes I copy a dll like that, but forget to change the override setting for it in winecfg... could it be something like that?
Francesco Pietra wrote:> Trying to install ch i got: > > me@debian:~$ su > Password: > debian:/home/me# WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" > wine /home/me/ch/ch.exe err:module:import_dll Library ole32.dll > (which is needed by L"c:\\windows\\system32\\shlwapi.dll") not found > err:module:import_dll Library shlwapi.dll (which is needed by L"c: > \\windows\\system32\\shell32.dll") not found > err:module:import_dll Library SHELL32.dll (which is needed by L"Z: > \\home\\francesco\\chemsk\\chemsk50.exe") not found > err:module:LdrInitializeThunk Main exe initialization for L"Z: > \\home\\me\\chemsk\\ch.exe" failed, status c0000135 > debian:/home/me# > > Then i copied to C:\wibndow\sestem32 the lacking SHELL32.dll (from the > installation of ch on windows), getting the same list of errors. Then i > replaced ole32.dll and shlwapi.dll in wine with those from the installation > of ch on windows. Same list of errors.The libraries ole32 and shell32 are part of Wine. Assuming they are actually installed in /usr/local/lib/wine (which is the default install location), you probably need to add /usr/local/lib to your /etc/ld.so.conf file (or whatever the equivalent is on your Linux version) and as root run 'ldconfig'.
Duane Clark <dclark@akamail.com> writes:> Francesco Pietra wrote: > > Trying to install ch i got: > > me@debian:~$ su > > Password: > > debian:/home/me# WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine > > /home/me/ch/ch.exe err:module:import_dll Library ole32.dll > > (which is needed by L"c:\\windows\\system32\\shlwapi.dll") not found > > err:module:import_dll Library shlwapi.dll (which is needed by L"c: > > \\windows\\system32\\shell32.dll") not found > > err:module:import_dll Library SHELL32.dll (which is needed by L"Z: > > \\home\\francesco\\chemsk\\chemsk50.exe") not found > > err:module:LdrInitializeThunk Main exe initialization for L"Z: > > \\home\\me\\chemsk\\ch.exe" failed, status c0000135 > > debian:/home/me# > > Then i copied to C:\wibndow\sestem32 the lacking SHELL32.dll (from > > the installation of ch on windows), getting the same list of > > errors. Then i replaced ole32.dll and shlwapi.dll in wine with those > > from the installation of ch on windows. Same list of errors. > > The libraries ole32 and shell32 are part of Wine. Assuming they are > actually installed in /usr/local/lib/wine (which is the default > install location), you probably need to add /usr/local/lib to your > /etc/ld.so.conf file (or whatever the equivalent is on your Linux > version) and as root run 'ldconfig'.Hmm. Are you sure? /etc/ld.so.conf is used by dynamic linker ld.so. Files on /usr/local/lib/wine, I think are opened by wine with dlopen, I think. (ie. not opened by ld.so ) Guick look to libs/wine/loader.c shows that wine uses own search patch for locating these. / Kari Hurtta