prkazevedo@ibest.com.br
2006-Oct-09 10:54 UTC
[Wine] Can't make wine work... Wrong libraries loaded?
Hi everybody! I posted a message a few days ago about my difficulties in trying to make wine work. Doing some research I found out that wine can't work without the /tls libs since it now supports threads. Interistingly, though, I have the 3 versions of this library (/lib/pthreads, /lib/i686 and /lib/tls, which is a part of the Glibc package. My kernel is 2.6.16. As I could understood, wine should automatically choose and load the tls libraries, but when I try the command ldd wine, it seems to me that wine is loading a different version of the pthreads library. Could anyone with a wine working enviroment send me the output of the ldd wine command just to make sure I am right? Does anybody knows how this should work at all? Thaks! My former message follows bellow: I have moved to wine-0.9.21(that I have compiled myself) recently and nothing works for me, not even winemine. Got messagens like this one below: wine: Unhandled page fault on write access to 0x003ffd80 at address 0x6096c20e (thread 0009), starting debugger... wine: Unhandled page fault on write access to 0x003ffd80 at address 0x7e98820e (thread 000b), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x6096c20e). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:0000 EIP:6096c20e ESP:0034e888 EBP:0034ebc0 EFLAGS:00210212( - 00 - RIA1) EAX:0034ecf8 EBX:60973ff4 ECX:60015ff4 EDX:003fffff ESI:003ffbe0 EDI:60016020 Stack dump: 0x0034e888: 00000034 00000120 00000120 609741b0 0x0034e898: 609741b4 0034eaa4 0000e1cc 54203423 0x0034e8a8: 53207568 32207065 34312038 3a35323a 0x0034e8b8: 42203435 32205452 00363030 00000000 0x0034e8c8: 00000000 0000e4bc 0000e4bc 00000005 0x0034e8d8: 00001000 00000001 0000ee58 0000fe58 I have already searched through the internet and noticed that a few other people also have a problem like mine, but nobody have any idea about why this acctually happens. My gcc is 4.0.1, my distro is Mandriva 2006 (I have tried their pre-compiled packages with sucess. The kernel I am using is 2.6.12. glibc is 2.3.6.3mdk Any hints? I would appreciate... :-) Smith
Duane Clark
2006-Oct-09 11:24 UTC
[Wine] Re: Can't make wine work... Wrong libraries loaded?
prkazevedo@ibest.com.br wrote:> Hi everybody! > > I posted a message a few days ago about my difficulties in trying to > make wine work. Doing some research I found out that wine can't work > without the /tls libs since it now supports threads. Interistingly, > though, I have the 3 versions of this library (/lib/pthreads, > /lib/i686 and /lib/tls, which is a part of the Glibc package. My > kernel is 2.6.16. As I could understood, wine should automatically > choose and load the tls libraries, but when I try the command ldd > wine, it seems to me that wine is loading a different version of the > pthreads library. > > Could anyone with a wine working enviroment send me the output of the > ldd wine command just to make sure I am right? Does anybody knows how > this should work at all? > > Thaks! > > My former message follows bellow: I have moved to wine-0.9.21(that I > have compiled myself) recently and nothing works for me, not even > winemine...If you are compiling Wine yourself, then you generally need to have the header files for things like tls installed (normally the devel package). That goes for almost everything else Wine uses. "configure" checks for the existence of these headers, and uses them when compiling. There may have been a message printed out when running configure. Check the config.log file that was generated, especially the "Cache variables" section near the bottom.
prkazevedo@ibest.com.br
2006-Oct-10 10:50 UTC
[Wine] Re: Can't make wine work... Wrong libraries loaded?
Right! It seems that something is wrong in the "Cache variables" section in the config.log. Perhaps these variables values ought to be "yes" instead of "no". But I not quite to sure... ac_cv_func_pthread_attr_get_np=no ac_cv_func_pthread_get_stackaddr_np=no ac_cv_func_pthread_get_stacksize_np=no . . . ac_header_pthread_np_h=no Anyway, all the headers for Linux threads and POSIX threads (nptl) libraries are in the same glibc-devel package, which I had already installed. So I can't undestand why Wine did't used the right headers...> > Hi everybody! > > > > I posted a message a few days ago about my difficulties in trying to > > make wine work. Doing some research I found out that wine can't work > > without the /tls libs since it now supports threads. Interistingly, > > though, I have the 3 versions of this library (/lib/pthreads, > > /lib/i686 and /lib/tls, which is a part of the Glibc package. My > > kernel is 2.6.16. As I could understood, wine should automatically > > choose and load the tls libraries, but when I try the command ldd > > wine, it seems to me that wine is loading a different version of the > > pthreads library. > > > > Could anyone with a wine working enviroment send me the output of the > > ldd wine command just to make sure I am right? Does anybody knows how > > this should work at all? > > > > Thaks! > > > > My former message follows bellow: I have moved to wine-0.9.21(that I > > have compiled myself) recently and nothing works for me, not even > > winemine... > > If you are compiling Wine yourself, then you generally need to have the > header files for things like tls installed (normally the devel package). > That goes for almost everything else Wine uses. "configure" checks for > the existence of these headers, and uses them when compiling. There may > have been a message printed out when running configure. Check the > config.log file that was generated, especially the "Cache variables" > section near the bottom.