Help - Search - Members - Calendar
Full Version: New To Wine
Linuxhelp > Support > Technical Support
street9009
I just recently installed Debian (woody) Linux and have been working with it a lot over the past few days. My latest project is to get an mIRC bot running on my Linux box via wine.

I installed the latest wine per WineHQ's website's instructions. And I believe I configured it at least somewhat right.

When I try to run the mIRC.exe with wine, I get a litany of errors. They will follow below.

I'd be appreciative to anyone who can help me hammer out these problems. It's all a learning experience for me. Thanks a bunch.

stephen@phoenix:~/unit-c/windows/CE$ wine CE.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\user32.dll") failed (error c000007a).
err:module:import_dll Library user32.dll (which is needed by L"c:\windows\system\winmm.dll") not found
err:module:import_dll Library WINMM.dll (which is needed by L"C:\windows\CE\CE.exe") not found
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\ws2_32.dll") failed (error c000007b).
err:module:import_dll Library ws2_32.dll (which is needed by L"c:\windows\system\wsock32.dll") not found
err:module:import_dll Library WSOCK32.dll (which is needed by L"C:\windows\CE\CE.exe") not founderr:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\mpr.dll") failed (error c000007b).
err:module:import_dll Library MPR.dll (which is needed by L"C:\windows\CE\CE.exe") not found
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\comctl32.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\comctl32.dll") failed (error c000007a).
err:module:import_dll Library COMCTL32.dll (which is needed by L"C:\windows\CE\CE.exe") not found
err:module:import_dll Loading library USER32.dll (which is needed by L"C:\windows\CE\CE.exe") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"GDI32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library GDI32.dll (which is needed by L"C:\windows\CE\CE.exe") failed (error c000007a).
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\ole32.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\ole32.dll") failed (error c000007a).
err:module:import_dll Library ole32.dll (which is needed by L"c:\windows\system\shlwapi.dll") not found
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\shlwapi.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\shlwapi.dll") failed (error c000007a).
err:module:import_dll Library shlwapi.dll (which is needed by L"c:\windows\system\shell32.dll") not found
err:module:import_dll Loading library comctl32.dll (which is needed by L"c:\windows\system\shell32.dll") failed (error c000007b).
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\shell32.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\shell32.dll") failed (error c000007a).
err:module:import_dll Library shell32.dll (which is needed by L"c:\windows\system\comdlg32.dll") not found
err:module:import_dll Loading library shlwapi.dll (which is needed by L"c:\windows\system\comdlg32.dll") failed (error c000007b).
err:module:import_dll Loading library comctl32.dll (which is needed by L"c:\windows\system\comdlg32.dll") failed (error c000007b).
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\winspool.drv") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\winspool.drv") failed (error c000007a).
err:module:import_dll Library winspool.drv (which is needed by L"c:\windows\system\comdlg32.dll") not found
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\comdlg32.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\comdlg32.dll") failed (error c000007a).
err:module:import_dll Library comdlg32.dll (which is needed by L"C:\windows\CE\CE.exe") not found
err:module:import_dll Loading library SHELL32.dll (which is needed by L"C:\windows\CE\CE.exe") failed (error c000007b).
err:module:import_dll Loading library ole32.dll (which is needed by L"C:\windows\CE\CE.exe") failed (error c000007b).
err:module:import_dll Loading library ole32.dll (which is needed by L"c:\windows\system\oleaut32.dll") failed (error c000007b).
err:module:import_dll Loading library user32.dll (which is needed by L"c:\windows\system\oleaut32.dll") failed (error c000007b).
err:module:load_builtin_dll failed to load .so lib for builtin L"gdi32.dll": libstdc++.so.5: cannot open shared object file: No such file or directory
err:module:import_dll Loading library gdi32.dll (which is needed by L"c:\windows\system\oleaut32.dll") failed (error c000007a).
err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\windows\CE\CE.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\windows\CE\CE.exe" failed, status c0000135
Termina
Wine won't run everything; it's not an emulator.

That being said, is this bot based off of mIRC? If so, it should work. (I personally have run mIRC and sysreset using wine).

You seem to be missing some DLLs. Are you dual booting? If so, make sure your window drive is mounted, and that wine knows where to look to find the DLLs it needs. You might want to be safe and copy gdi32.dll to the same directory as your bot.
street9009
Yea I was pretty sure wine would work with mIRC.

I'm not dual booting, but I believe I told wine where the C: drive "is" in the config file. What I'm fuzzy on is where to put the DLLs it's complaining about.
street9009
And just for fun, this is my config file.

stephen@phoenix:~/.wine$ cat config
WINE REGISTRY Version 2

[Version]
"Windows"="winxp"

[Drive A]
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Label" = "floppy"
"Device" = "/dev/floppy"

[Drive C]
"Path" = "/home/stephen/unit-c/"
"Type" = "hd"
"Label" = "MS-DOS"
"Filesystem" = "win95"

[Drive D]
"Path" = "/cdrom"
"Type" = "cdrom"
"Label" = "CD-Rom"
"Filesystem" = "win95"
"Device" = "/dev/cdrom"

[Drive E]
"Path" = "/home/stephen/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[wine]
"Windows" = "c:\windows"
"System" = "c:\windows\system\"
"Temp" = "e:\"
"Path" = "c:\windows;c:\windows\system"
"Profile" = "c:\windows\Profiles\Administrator"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
; "ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

[DllOverrides]
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"ver" = "builtin, native"
"version" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"lzexpand" = "builtin, native"
"lz32" = "builtin, native"
"comctl32" = "builtin, native"
"commctrl" = "builtin, native"
"advapi32" = "builtin, native"
"crtdll" = "builtin, native"
"mpr" = "builtin, native"
"winspool.drv" = "builtin, native"
"ddraw" = "builtin, native"
"dinput" = "builtin, native"
"dsound" = "builtin, native"
"opengl32" = "builtin, native"
"msvcrt" = "native, builtin"
"rpcrt4" = "native, builtin"
"msvideo" = "builtin, native"
"msvfw32" = "builtin, native"
"mcicda.drv" = "builtin, native"
"mciseq.drv" = "builtin, native"
"mciwave.drv" = "builtin, native"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msacm.drv" = "builtin, native"
"msacm" = "builtin, native"
"msacm32" = "builtin, native"
"midimap.drv" = "builtin, native"
; default for all other dlls
"*" = "native, builtin, so"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "N"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "N"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

; List of all directories directly contain .AFM files
[afmdirs]
"1" = "/usr/share/AbiSuite/fonts"
"2" = "/usr/share/fonts/type1/gsfonts"
"3" = "/usr/share/fonts/afms/adobe"
"4" = "/usr/share/enscript/afm"
"5" = "/usr/share/wx/gs_afm"
"6" = "/usr/share/wx/afm"
"7" = "/usr/lib/R/afm"
"8" = "/usr/X11R6/lib/X11/fonts/Type1"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.