LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [I'm a Wine Newbie] Wine troubles. (https://www.linuxquestions.org/questions/linux-software-2/%5Bim-a-wine-newbie%5D-wine-troubles-594147/)

ibLah 10-24-2007 05:20 AM

[I'm a Wine Newbie] Wine troubles.
 
I'm trying to get http://forum.ragezone.com/f331/dev-p...ta-dev-300154/ that running on Wine on Ubuntu Server Edition.


I do the fallowing:
Quote:

justin@ubuntu:~$ cd ~/.wine/drive_c/debbo

justin@ubuntu:~/.wine/drive_c/debbo$ wine debbo.exe

err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
wine: Unhandled page fault on read access to 0x00000e08 at address 0x6600e84b (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000e08 in 32-bit code (0x6600e84b).
err:dbghelp:pe_load_dbg_file -Unable to peruse .DBG file DLL\MSVBVM60.dbg ("")
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033
EIP:6600e84b ESP:7fbafc9c EBP:7fbafcb8 EFLAGS:00210202( - 00 - -RI1)
EAX:00000e08 EBX:66000000 ECX:7fbafc90 EDX:7f080100
ESI:00000e08 EDI:00000001
Stack dump:
0x7fbafc9c: 6610e470 6600ef50 6601cb0d 66003138
0x7fbafcac: 66000000 00000001 66000000 7fbafcf8
0x7fbafcbc: 66001b25 66000000 00000001 00000001
0x7fbafccc: 7fd00580 00000000 7fbafcf8 7ffd51fc
0x7fbafcdc: 7ff9c0e5 66000000 00000001 00000001
0x7fbafcec: 7ff9d770 00000001 7ffd51fc 7fbafda8
0200: sel=1007 base=7fe4a000 limit=00001fff 32-bit rw-
Backtrace:
=>1 0x6600e84b in msvbvm60 (+0xe84b) (0x6600e84b)
2 0x66001b25 in msvbvm60 (+0x1b25) (0x66001b25)
3 0x7ff9cea7 in ntdll (+0x1cea7) (0x7ff9cea7)
4 0x7ff9d7fa in ntdll (+0x1d7fa) (0x7ff9d7fa)
5 0x7ff9d7ce in ntdll (+0x1d7ce) (0x7ff9d7ce)
6 0x7ffa061f LdrInitializeThunk+0x372 in ntdll (0x7ffa061f)
7 0x7fc6b2dd in kernel32 (+0x4b2dd) (0x7fc6b2dd)
8 0xb7ed3ddb wine_switch_to_stack+0x17 in libwine.so.1 (0xb7ed3ddb)
0x6600e84b: movl 0x0(%esi),%eax
Modules:
Module Address Debug info Name (35 modules)
PE 0x00400000-00721000 Deferred debbo
PE 0x66000000-66152000 Export msvbvm60
ELF 0x7bf00000-7bf03000 Deferred <wine-loader>
ELF 0x7f5a1000-7f5b5000 Deferred libz.so.1
ELF 0x7f5b5000-7f61f000 Deferred libfreetype.so.6
ELF 0x7f61f000-7f6b5000 Deferred oleaut32<elf>
\-PE 0x7f640000-7f6b5000 \ oleaut32
ELF 0x7f6b5000-7f6d4000 Deferred iphlpapi<elf>
\-PE 0x7f6c0000-7f6d4000 \ iphlpapi
ELF 0x7f6d4000-7f71d000 Deferred rpcrt4<elf>
\-PE 0x7f6e0000-7f71d000 \ rpcrt4
ELF 0x7f71d000-7f7ae000 Deferred ole32<elf>
\-PE 0x7f730000-7f7ae000 \ ole32
ELF 0x7f7ae000-7f7ee000 Deferred advapi32<elf>
\-PE 0x7f7c0000-7f7ee000 \ advapi32
ELF 0x7f8c3000-7f974000 Deferred gdi32<elf>
\-PE 0x7f8e0000-7f974000 \ gdi32
ELF 0x7f974000-7faa0000 Deferred user32<elf>
\-PE 0x7f990000-7faa0000 \ user32
ELF 0x7fbc1000-7fbcb000 Deferred libgcc_s.so.1
ELF 0x7fbfe000-7fd00000 Export kernel32<elf>
\-PE 0x7fc20000-7fd00000 \ kernel32
ELF 0x7fe15000-7fe1f000 Deferred libnss_files.so.2
ELF 0x7fe1f000-7fe28000 Deferred libnss_nis.so.2
ELF 0x7fe28000-7fe3d000 Deferred libnsl.so.1
ELF 0x7fe3d000-7fe46000 Deferred libnss_compat.so.2
ELF 0x7fe4e000-7fe70000 Deferred libm.so.6
ELF 0x7fe70000-7ff66000 Deferred libwine_unicode.so.1
ELF 0x7ff66000-7ffe0000 Export ntdll<elf>
\-PE 0x7ff80000-7ffe0000 \ ntdll
ELF 0xb7d87000-b7d8a000 Deferred libdl.so.2
ELF 0xb7d8a000-b7eb9000 Deferred libc.so.6
ELF 0xb7eb9000-b7ecb000 Deferred libpthread.so.0
ELF 0xb7ecf000-b7ee9000 Export libwine.so.1
ELF 0xb7eec000-b7f02000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\debbo\debbo.exe
00000009 0 <==
I had a few errors with FreeType and some windows library files that I fixed but this one I'm totaly lost at.
No one has ever tried this on Wine prior to me, not even the developers.
It does work on my WindowsXP machine fine.


Question2: I was also wondering how this would work; The program I want to run has a dialog and stuff, would be possible to run the program with no Graphic based desktop on the linux machine or would I need to get one?


Any help is highly appreciated. :)

mickyg 10-24-2007 07:12 AM

As a wild stab in the dark I'd start by making sure you have both "winex11.drv" and "libSM.so.6" installed/present on your system, purely based on the fact that the first error you get is
Code:

err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory
I remember in the past I've had to create a symlink to a lib file to get an application working; i.e. I had "libSM.so" and had to create the symlink "libSM.so.6" to point to "libSM.so". Whether that was the right thing to do I'm not sure....

As for question 2, I'm not really sure what you mean by that. Could you clarify what you mean by "...dialog and stuff..." and "...no Graphic based desktop..." please? Are you asking if you can run an application that has no command line interface (as in it only windows) through wine on a Linux box without X started?

b0uncer 10-24-2007 07:16 AM

There's a lot of that coming if you start to create symlinks..it's a pain when a program looks for a library file and there basically is that lib file, but with a different name (or there's almost that lib file, maybe slightly other version, and so on). Wine is not perfect, and I'd say first try to solve those missing file problems, and if it still won't run, contact Wine's mailing lists or something.

Not all programs run under Wine. And some of them need to be installed by starting "winefile" with Wine, and using that to start the installer, rather than start the installer directly with Wine. Curious, eh?


All times are GMT -5. The time now is 06:32 AM.