LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-05-2021, 02:23 AM   #1
Shaggy1
Member
 
Registered: Oct 2010
Posts: 111

Rep: Reputation: 3
Errors running wine on centos 8


System info
=============
Code:
$ cat /etc/centos-release
CentOS Linux release 8.3.2011

$ uname -a
Linux localhost.localdomain 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Hi

I am attempting to install wine on my centos 8 system. I followed the instructions to download, build and install it from this link:
https://linux.r2schools.com/how-to-i...os-8-and-rhel/
and this seems to have gone through fine.

However I am having some troubles running and configuring it.

First, I downloaded wine-5.0.2.tar.xz, but after installation I noticed there was another version of wine in /bin:
Code:
$ which wine64
/bin/wine64
Code:
$ ls -al /bin*
lrwxrwxrwx. 1 root root 7 Nov  3 15:22 /bin -> usr/bin
Code:
$ wine64 --version
wine-4.0.4
I assume the version I installed was installed in /usr/local/bin/wine64 since it seems to be present there:
Code:
$ which wine64
/usr/local/bin/wine64
[larry@localhost Documents]$ wine64 --version
wine-5.0.2
Does anyone know if the version in /bin is also installed as part of the 5.0.2 version ? Or is it one that was there by default ?

If it is a separate version does anyone know how I can remove it ?

I'm not sure how I confirm/test test the wine installation I have installed. When I run 'notepad' as user me it seems to run fine.

Running winecfg as user me, the application does eventually come up, but it spits out the following errors:
Code:
$winecfg
wine: created the configuration directory '/home/larry/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
001c:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
001c:err:mscoree:LoadLibraryShim error reading registry key for installroot
001c:err:mscoree:LoadLibraryShim error reading registry key for installroot
001c:err:mscoree:LoadLibraryShim error reading registry key for installroot
001c:err:mscoree:LoadLibraryShim error reading registry key for installroot
wine client error:0: version mismatch 595/571.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
001c:err:msi:execute_command unable to execute command 1359
001c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
001c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0022:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0022:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0022:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0022:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0022:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 000000006DFA0434
0027:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ed306d, context 0x310590, init_notify 0, handle 0x172fa00): stub
0010:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
If I try to run wine as root I get the following errors:
Code:
$ /usr/local/bin/wine64 ---version
No protocol specified
0009:err:module:__wine_process_init L"C:\\windows\\system32\\---version.exe" not found
Code:
$ /usr/local/bin/wine64 notepad
No protocol specified
0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Does anyone know what I am missing to cause the errors generated when I run winecfg ?
Do these errors matter, or can they be ignored ?

Does anyone know why I get the errors when I run wine as root ?
And why I get different behaviour when I run as me and root ? (I've tried playing about with the PATH, but still seem to get the same errors as root)
 
Old 03-05-2021, 02:31 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
I would try to remove wine completely (from everywhere) and reinstall again.
the latest version is 6.0
 
Old 03-05-2021, 10:03 AM   #3
Shaggy1
Member
 
Registered: Oct 2010
Posts: 111

Original Poster
Rep: Reputation: 3
Thank you for the reply

> I would try to remove wine completely (from everywhere) and reinstall again.
Do you know how I should go about doing that ?
 
Old 03-05-2021, 10:08 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
I guess the easiest way to install wine on CentOS 8 (more up-to-date version than 4.0.4 currently in EPEL) is 5.22 from the Raven Extras repo
 
Old 03-06-2021, 05:38 AM   #5
Shaggy1
Member
 
Registered: Oct 2010
Posts: 111

Original Poster
Rep: Reputation: 3
Thank you for your replies

I cleaned up all wines by doing the following:
Code:
$ yum remove "wine*"

$ cd <winsrcdir>
make clean
make uninstall
Then downloaded wine 6.0 (which I think is the latest) and installed it doing the following:
Code:
$ get https://dl.winehq.org/wine/source/6.0/sha512sums.asc
$ wget https://dl.winehq.org/wine/source/6.0/wine-6.0.tar.xz
$ tar xvf wine-6.0.tar.xz
$ ./configure --prefix /usr/local/wine --enable-win64
$ make
$ make install
On configure this cam up with alot of warning messages about missing or out of date packages. I went through them and installed as many as possible, but was unable to install the following:
configure: MinGW compiler not found, cross-compiling PE files won't be supported.
configure: OpenCL 64-bit development files not found, OpenCL won't be supported.
configure: libhal 64-bit development files not found, no legacy dynamic device support.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 64-bit development files not found, plug and play won't be supported.
configure: libFAudio 64-bit development files not found, XAudio2 won't be supported.
configure: libcapi20 64-bit development files not found, ISDN won't be supported.
configure: libcups 64-bit development files not found, CUPS won't be supported.

There does not seem to be any indication as to what versions of these are required or whether the warning is due to out of date version or missing package. Does anyone know how I can find out how to install the above ?
(I assume however, that because they are warnings they are not vital to the running of wine)

When I run wine64 as a normal user it eventuall runs up fine, but spits out the following errors:
Code:
$ wine64 notepad
0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0098:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0098:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0098:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0098:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@mscms.dll,-1" -> L"C:\\windows\\system32\\spool\\drivers\\color\\srgb color space profile.icm"
00d4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00d4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00d4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00dc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00dc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00dc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Could not find Wine Gecko. HTML rendering will be disabled.
00e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
wine: configuration in L"/home/connie/.wine" has been updated.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0128:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0128:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0128:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
I see similar errors when I run winecfg
Does anyone know whet these errors mean and what causes them ?

Running wine64 for the first time it cam up with dialog messages about installing winrmono and winegeko. After running once these dialogs no longer pop up.
Does anyone know what these packages are for and under what circumstances they would be required ?

When running wine as root I still see the errors:
Code:
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
I assume this is something to do with security settings preventing running applications as root, but it would be good to understand where it is coming from. Does anyone know ?
 
Old 03-06-2021, 09:44 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,923

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
Quote:
Originally Posted by Shaggy1 View Post
I cleaned up all wines by doing the following:
Code:
$ yum remove "wine*"

$ cd <winsrcdir>
make clean
make uninstall
ok. did you check if wine was still available somewhere?
Quote:
Originally Posted by Shaggy1 View Post

Then downloaded wine 6.0 (which I think is the latest) and installed it doing the following:
Code:
$ get https://dl.winehq.org/wine/source/6.0/sha512sums.asc
$ wget https://dl.winehq.org/wine/source/6.0/wine-6.0.tar.xz
$ tar xvf wine-6.0.tar.xz
$ ./configure --prefix /usr/local/wine --enable-win64
$ make
$ make install
this is almost ok, just you need to install prerequisites first

Quote:
Originally Posted by Shaggy1 View Post
On configure this cam up with alot of warning messages about missing or out of date packages. I went through them and installed as many as possible, but was unable to install the following:
configure: MinGW compiler not found, cross-compiling PE files won't be supported.
configure: OpenCL 64-bit development files not found, OpenCL won't be supported.
configure: libhal 64-bit development files not found, no legacy dynamic device support.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 64-bit development files not found, plug and play won't be supported.
configure: libFAudio 64-bit development files not found, XAudio2 won't be supported.
configure: libcapi20 64-bit development files not found, ISDN won't be supported.
configure: libcups 64-bit development files not found, CUPS won't be supported.

There does not seem to be any indication as to what versions of these are required or whether the warning is due to out of date version or missing package. Does anyone know how I can find out how to install the above ?
(I assume however, that because they are warnings they are not vital to the running of wine)
All of them should be available in your centos repositories, that would be ok.

https://wiki.winehq.org/CentOS/RHEL
https://wiki.winehq.org/Building_Wine
 
  


Reply

Tags
centos8, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are these error harmful? -.sd1 Soft Errors: 0 Hard Errors: 6 Transport Errors: 0 manalisharmabe Solaris / OpenSolaris 2 10-04-2013 11:55 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
errors,errors,errors!!! randell6564 Mandriva 2 01-15-2006 02:29 AM
Grub errors...grub errors...grub errors smattmac Linux - Newbie 1 06-13-2005 02:07 PM
Wine, Wine, Wine!! Wolf Linux - Software 1 01-20-2003 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration