http://bugs.winehq.org/show_bug.cgi?id=2858
------- Additional Comments From saulius.krasuckas@elst.vtu.lt 2005-17-10 03:48 ------- In my case installation was overwriting ELF-binary data with PE-binary data. You can check this using "file":
$ file ~/.wine/drive_c/windows/system32/regsvr32.exe | /home/s2/.wine/drive_c/windows/system32/regsvr32.exe: symbolic link to /usr/src/wine-cvs/wine/programs/regsvr32.exe.so $ ll /usr/src/wine-cvs/wine/programs/regsvr32.exe.so | lrwxrwxrwx 1 s2 s2 24 Oct 7 01:41 /usr/src/wine-cvs/wine/programs/regsvr32.exe.so -> regsvr32/regsvr32.exe.so $ ll /usr/src/wine-cvs/wine/programs/regsvr32/regsvr32.exe.so | -rwxrwxr-x 1 s2 s2 652514 Oct 11 20:27 /usr/src/wine-cvs/wine/programs/regsvr32/regsvr32.exe.so $ file /usr/src/wine-cvs/wine/programs/regsvr32/regsvr32.exe.so | /usr/src/wine-cvs/wine/programs/regsvr32/regsvr32.exe.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
After IE6 installation it reports about PE 32-bit executable. :-\ After this wine fails to launch regsvr32.exe.so -- dlopen() fails on it. Maybe the same issue arose in your case too?