Friday, December 16, 2005, 11:20:34 PM, Dan Kegel wrote: > On 12/16/05, Vitaliy Margolen <[EMAIL PROTECTED]> wrote: >> > $ wine/wine .wine/drive_c/windows/system32/regsvr32.exe >> > wine: cannot open builtin library for >> > L"Z:\\home\\dank\\.wine\\drive_c\\windows\\system32\\regsvr32.exe": >> > /home/dank/wine/programs/regsvr32.exe.so: invalid ELF header >> >> Yeah. The only time I have seen this message in relation to regsvr32.exe >> is only when Wine's builtin regsvr32.exe.so was overwritten with native >> PE executable. ... >> In this case I don't know then what is going on. Could you follow all the >> symlinks and verify that it is in fact ELF? Also can you remove this file >> and remake it? If it is ELF it must be corrupted in some way.
> No, it's ELF, and it's not corrupted. As I wrote a few posts ago, > the problem was caused by having an old copy of wine installed > in /usr/local while running a new copy of wine from the build > directory. Removing the old copy, and installing wine from the > build directory, fixes the problem; I can then run regsvr32 from > either the build directory or the installed copy without problems. Ah I see. Will add this to the list of things to watch for then. Thank you for taking time and figuring it out. The reason why I never seen this before is because I don't have Wine installed. I'm running it from the source tree. Saves me some some time and space on the hard-drive. And extra log-in as root <g> Vitaliy