Meet error when execute app in Linux

Questions about Wine on Linux
Locked
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Meet error when execute app in Linux

Post by sun5kong »

How can I solve it?
1. RedHat 5
2. I build src version 1.7.40, and install it.
3. log as below:

Code: Select all

Program Files # wine MetaTrader\ -\ EXNESS/terminal.exe
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005
....
err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
....
fixme:mountmgr:harddisk_ioctl returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
fixme:thread:GetThreadPreferredUILanguages 56, 0x33f59c, 0x33f5ac 0x33f5a0
fixme:module:load_library unsupported flag(s) used (flags: 0x00000060)
fixme:ver:GetCurrentPackageId (0x33efa4 (nil)): stub
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ieframe:PersistStreamInit_InitNew (0x2ad7630)
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x321d901, context 0x6123b90, init_notify 0, handle 0x69ee854): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
fixme:imm:ImmReleaseContext (0x10126, 0x2afa968): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ieframe:BrowserService_GetTravelLog 0x2aeff90 0x33a2cc
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2ad76e8)->((null) 1 0x33a294 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2ad76e8)->(0x33a2ac)
fixme:mshtml:nsChannel_GetContentDisposition (0x2afcb08)->(0x339a44)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2afcb08)->(0x339264)
fixme:ieframe:ClientSite_GetContainer (0x2ad76e8)->(0x33bfec)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:PersistStreamInit_InitNew (0x2affb00)
fixme:ieframe:BrowserService_GetTravelLog 0x2b00468 0x33a08c
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2affbb8)->((null) 1 0x33a054 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2affbb8)->(0x33a06c)
fixme:mshtml:nsChannel_GetContentDisposition (0x2b02498)->(0x339804)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2b02498)->(0x339024)
fixme:ieframe:ClientSite_GetContainer (0x2affbb8)->(0x33bdac)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:PersistStreamInit_InitNew (0x2b00cf8)
fixme:ieframe:BrowserService_GetTravelLog 0x2b03098 0x33a2cc
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_QueryStatus (0x2b00db0)->((null) 1 0x33a294 (nil))
fixme:ieframe:ClOleCommandTarget_QueryStatus command_0: 27, 0x0
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 37 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 84 of CGID_ShellDocView
fixme:ieframe:ClientSite_GetContainer (0x2b00db0)->(0x33a2ac)
fixme:mshtml:nsChannel_GetContentDisposition (0x2b06110)->(0x339a44)
fixme:mshtml:nsChannel_GetContentDispositionHeader (0x2b06110)->(0x339264)
fixme:ieframe:ClientSite_GetContainer (0x2b00db0)->(0x33bfec)
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 25
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2ad76e8)
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2affbb8)
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x2b00db0)
fixme:advapi:RegisterTraceGuidsW (0x3080301, 0x8657708, {509962e0-406b-46f4-99ba-5a009f8d2225}, 3, 0x8724bb0, (null), (null), 0x8657738): stub
fixme:volume:GetVolumePathNameW (L"C:\\users\\root\\Application Data\\wine_gecko", 0x33bc18, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:volume:GetVolumePathNameW (L"C:\\windows\\system32\\gecko\\2.36\\wine_gecko", 0x33bcf8, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:volume:GetVolumePathNameW (L"C:\\windows", 0x33bcf8, 256), stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2af1440)->(0x1262b8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b01490)->(0x1262b8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b04ee0)->(0x1262b8)
fixme:iphlpapi:SendARP (DestIP 0xfe54a8c0, SrcIP 0x00000000, pMacAddr 0x9ebac50, PhyAddrLen 0x9ebac5c): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33e5bc,0x00000000), stub!
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 69 of CGID_Explorer
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 26
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 103 of CGID_ShellDocView
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 2315 of group {de4ba900-59ca-11cf-9592-444553540000}
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 35
fixme:ieframe:ClOleCommandTarget_Exec Unimplemented cmdid 28
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2af1440)->(0x1262b8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b01490)->(0x1262b8)
fixme:mshtml:OleInPlaceActiveObject_TranslateAccelerator (0x2b04ee0)->(0x1262b8)
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:mmdevapi:DllGetClassObject Driver initialization failed
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x2ad7630)
fixme:ieframe:ControlSite_OnFocus (0x2ad76e8)->(0)
fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2af1440)->((nil))
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x2b00cf8)
fixme:ieframe:ControlSite_OnFocus (0x2b00db0)->(0)
fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2b04ee0)->((nil))
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x2affb00)
fixme:ieframe:ControlSite_OnFocus (0x2affbb8)->(0)
fixme:ieframe:InPlaceSite_OnInPlaceDeactivateEx fNoRedraw (1) ignored
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2b01490)->((nil))
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Meet error when execute app in Linux

Post by dimesio »

Apparently you ignored the messages from ./configure and compiled Wine without the libpng and libgnutls development files. You need to install both and recompile Wine. You should also check the output at the end of ./configure for any other missing dependencies and install those as well.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

dimesio wrote:Apparently you ignored the messages from ./configure and compiled Wine without the libpng and libgnutls development files. You need to install both and recompile Wine. You should also check the output at the end of ./configure for any other missing dependencies and install those as well.
I have installed below pkg,
Package gnutls-devel-1.4.1-7.el5_8.2.i386 already installed and latest version

I also can find the libgnutls:
wine-1.7.40 $ whereis libgnutls
libgnutls: /usr/lib/libgnutls.a /usr/lib/libgnutls.so

But, why I still get warning in ./configure
configure: WARNING: libgnutls development files not found, no schannel
support.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Meet error when execute app in Linux

Post by dimesio »

libgnutls: /usr/lib/libgnutls.a /usr/lib/libgnutls.so
Those are not the development headers. On my system they are located in /usr/include/gnutls.
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

dimesio wrote:
libgnutls: /usr/lib/libgnutls.a /usr/lib/libgnutls.so
Those are not the development headers. On my system they are located in /usr/include/gnutls.
In my system, there are gnutls headers, why ./configure can not find them?

wine-1.7.40 $ ls /usr/include/gnutls
compat.h extra.h gnutls.h openpgp.h openssl.h pkcs12.h x509.h
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

I have seen ./configure had checked gnutls,

checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes

Why there is still warning:
configure: WARNING: libgnutls development files not found, no schannel support.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Meet error when execute app in Linux

Post by dimesio »

Check the config.log to see exactly what file isn't being found.

The files in my /usr/include/gnutls are:
abstract.h compat.h crypto.h dtls.h gnutls.h ocsp.h openpgp.h pkcs11.h pkcs12.h tpm.h x509.h xssl.h
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

dimesio wrote:Check the config.log to see exactly what file isn't being found.

The files in my /usr/include/gnutls are:
abstract.h compat.h crypto.h dtls.h gnutls.h ocsp.h openpgp.h pkcs11.h pkcs12.h tpm.h x509.h xssl.h
Can you tell me what version of gnutls do you use?
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

Can you tell me what version of gnutls do you use?

It is appreciate if you can tell me below libraries version in your system, all of them are relevant libs.
hogweed
libtasn1
nettle
p11-kit
gmp
sun5kong
Level 2
Level 2
Posts: 21
Joined: Wed Apr 15, 2015 9:25 am

Re: Meet error when execute app in Linux

Post by sun5kong »

At last, I have installed below libraries, issue solved. it is because RedHat 5 is old, so some pkgs can not be installed by yum.
wine-1.7.40 is under compiling, not sure whether there is other issues.
gnutls-2.12.9
nettle-2.7.1
openssl-1.0.2a
p11-kit-0.23.1
libtasn1-2.9
gmp-6.0.0
Locked