Error at end of app install: can't open builtin library for regsvr32.exe...

Dan Kegel dank at kegel.com
Fri Dec 16 23:45:06 CST 2005


On 12/16/05, Vitaliy Margolen <wine-devel at kievinfo.com> wrote:
> > $ rm -rf .wine
> > $ wine/wine notepad.exe
> > /home/dank/.wine updated successfully.
> > $ find .wine -name regsvr32.exe -ls
> >   4669487    0 lrwxrwxrwx   1 dank     dank           40 Dec 17 03:35
> >   .wine/drive_c/windows/system32/regsvr32.exe ->
> >   /home/dank/wine/programs/regsvr32.exe.so
>
> Yup, exactly what I said.

? You were talking about something being overwritten with a
native copy by an installer, but you can see from the log
that no installer was run.

> Run
>   'file /home/dank/wine/programs/regsvr32.exe.so' to see what I'm talking
> about.

OK:

$ file /home/dank/wine/programs/regsvr32.exe.so
/home/dank/wine/programs/regsvr32.exe.so: symbolic link to
`regsvr32/regsvr32.exe.so'
$ file /home/dank/wine/programs/regsvr32/regsvr32.exe.so
/home/dank/wine/programs/regsvr32/regsvr32.exe.so: ELF 32-bit LSB
shared object, Intel 80386, version 1 (SYSV), not stripped

What does that tell you?  The file looks like a perfectly good
ELF file, as one would expect.  How do you explain the next line from the log,

$ 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

?
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the wine-devel mailing list