| Summary: | wine can't run (cannot find the FreeType library) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bernard SIAUD <liste> |
| Component: | RPM Packages | Assignee: | Rémi Verschelde <rverschelde> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, f.roussin, fri, hoytduff, mageia, marja11, olegbosis, olelukoie, tablackwell |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://www.mageialinux-online.org/forum/topic-23178+wine.php | ||
| Whiteboard: | |||
| Source RPM: | wine-2.0-4.mga6 | CVE: | |
| Status comment: | |||
| Attachments: | wine.spec with fixed dlopenreq lines | ||
|
Description
Bernard SIAUD
2017-06-04 09:03:05 CEST
It would fine here. What's the output of `rpm -qa | grep freetype`?
Rémi Verschelde
2017-06-04 10:22:40 CEST
Source RPM:
Version : 2.0; Release : 4.mga6 =>
wine-2.0-4.mga6
Rémi Verschelde
2017-06-04 10:23:18 CEST
Summary:
wine can't run =>
wine can't run (cannot find the FreeType library) [root@localhost ~]# rpm -qa | grep freetype lib64freetype-gir2.0-1.52.1-1.mga6 lib64freetype6-devel-2.7.1-2.mga6.tainted lib64freetype6-2.7.1-2.mga6.tainted mingw64-freetype-2.6.3-1.mga6 lib64freetype2-1.3.1-46.mga6.tainted
Marja Van Waes
2017-06-05 09:46:19 CEST
CC:
(none) =>
marja11 [root@localhost ~]# urpme wine64
Pour satisfaire les dépendances, les 6 paquetages suivants vont être désinstallés (513Mo):
playonlinux-4.2.11-1.mga6.x86_64
(en raison du manque de wine64)
wine-gecko-2.47-1.mga6.noarch
(en raison du manque de wine-bin)
wine-mono-4.6.4-1.mga6.noarch
(en raison du manque de wine-bin)
wine32-2.0-4.mga6.i586
(en raison du manque de wine-bin)
wine64-2.0-4.mga6.x86_64
wine64-gecko-2.47-1.mga6.noarch
(en raison du manque de wine-bin)
[...]
[root@localhost ~]# urpmi wine32
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release2 »)
wine-gecko 2.47 1.mga6 noarch (recommandé)
wine-mono 4.6.4 1.mga6 noarch (recommandé)
wine64 2.0 4.mga6 x86_64
wine64-gecko 2.47 1.mga6 noarch (recommandé)
(média « Core 32bit Release »)
wine32 2.0 4.mga6 i586
un espace additionnel de 509Mo sera utilisé.
188Mo de paquets seront récupérés.
Procéder à l'installation des 5 paquetages ? (O/n) o
=> winemine is not good
After :
[root@localhost ~]# urpme wine32
Les paquetages suivants :
cabextract-1.6-2.mga6.x86_64
icoutils-0.31.3-1.mga6.x86_64
kernel-desktop-devel-4.9.30-1.mga6-1-1.mga6.x86_64
lib64mspack0-0.5-0.2.alpha.mga6.x86_64
lib64osmesa8-17.1.1-2.mga6.tainted.x86_64
lib64wxgtkugl3.0_0-3.0.3.1-1.mga6.x86_64
libblkid1-2.28.2-2.mga6.i586
libexif12-0.6.21-9.mga6.i586
libgio2.0_0-2.52.2-2.mga6.i586
libglib-networking-gnutls-2.50.0-1.mga6.i586
libgmp10-6.1.2-1.mga6.i586
libgnutls30-3.5.12-1.mga6.i586
libgphoto2_6-2.5.12-1.mga6.i586
libgphoto2_port12-2.5.12-1.mga6.i586
libgstreamer-plugins-base1.0_0-1.10.4-1.mga6.i586
libgstreamer1.0_0-1.10.4-1.mga6.i586
libhogweed4-3.3-1.mga6.i586
libintl8-0.19.8.1-1.mga6.i586
liblcms2_2-2.8-2.mga6.i586
libldap2.4_2-2.4.45-2.mga6.i586
libmesaglu1-9.0.0-6.mga6.i586
libmount1-2.28.2-2.mga6.i586
libmpg123_0-1.24.0-1.mga6.i586
libnettle6-3.3-1.mga6.i586
libopenal1-1.17.2-4.mga6.i586
libopencl1-2.2.11-1.mga6.i586
liborc0.4_0-0.4.26-1.mga6.i586
libp11-kit0-0.23.2-2.mga6.i586
libsasl2_3-2.1.26-12.mga6.i586
libtasn1_6-4.10-2.mga6.i586
libudev1-230-11.mga6.i586
libunistring2-0.9.7-1.mga6.i586
libunwind8-1.1-8.mga6.i586
libuuid1-2.28.2-2.mga6.i586
netcat-traditional-1.10-40.mga6.x86_64
sane-frontends-1.0.14-20.mga6.x86_64
wine-gecko-2.47-1.mga6.noarch
wine-mono-4.6.4-1.mga6.noarch
wine64-2.0-4.mga6.x86_64
wine64-gecko-2.47-1.mga6.noarch
wxPython-3.0.2.0-8.mga6.x86_64
wxPython-wxversion-3.0.2.0-8.mga6.x86_64
sont désormais orphelins, si vous voulez les désinstaller, vous pouvez utiliser « urpme --auto-orphans »
[root@localhost ~]# urpme --auto-orphans
[...]
[root@localhost ~]# urpme winexe
[...]
[root@localhost ~]# urpmi wine
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release2 »)
sane-frontends 1.0.14 20.mga6 x86_64 (recommandé)
wine-gecko 2.47 1.mga6 noarch (recommandé)
wine-mono 4.6.4 1.mga6 noarch (recommandé)
(média « Core 32bit Release »)
libavahi-client3 0.6.32 1.mga6 i586
libavahi-common3 0.6.32 1.mga6 i586
libblkid1 2.28.2 2.mga6 i586
libcups2 2.2.3 2.mga6 i586
libexif12 0.6.21 9.mga6 i586
libext2fs2 1.43.4 1.mga6 i586
libfontconfig1 2.12.1 2.mga6 i586
libgio2.0_0 2.52.2 2.mga6 i586
libglib-networking-gnutls 2.50.0 1.mga6 i586 (recommandé)
libgmp10 6.1.2 1.mga6 i586
libgnutls30 3.5.12 1.mga6 i586
libgphoto2_6 2.5.12 1.mga6 i586
libgphoto2_port12 2.5.12 1.mga6 i586
libgsm1 1.0.16 1.mga6 i586
libgstreamer-plugins-base1.0_0 1.10.4 1.mga6 i586
libgstreamer1.0_0 1.10.4 1.mga6 i586
libhogweed4 3.3 1.mga6 i586
libieee1284_3 0.2.11 15.mga6 i586
libintl8 0.19.8.1 1.mga6 i586
libjbig1 2.1 4.mga6 i586
libjpeg8 1.5.1 1.mga6 i586
libkrb53 1.15.1 2.mga6 i586
liblcms2_2 2.8 2.mga6 i586
libldap2.4_2 2.4.45 2.mga6 i586
libmesaglu1 9.0.0 6.mga6 i586
libmount1 2.28.2 2.mga6 i586
libmpg123_0 1.24.0 1.mga6 i586
libnettle6 3.3 1.mga6 i586
libopenal1 1.17.2 4.mga6 i586
libopencl1 2.2.11 1.mga6 i586
liborc0.4_0 0.4.26 1.mga6 i586
libp11-kit0 0.23.2 2.mga6 i586
libpng16_16 1.6.29 1.mga6 i586
libsane1 1.0.25 5.mga6 i586
libsasl2_3 2.1.26 12.mga6 i586
libtasn1_6 4.10 2.mga6 i586
libtiff5 4.0.8 2.mga6 i586
libudev1 230 11.mga6 i586
libunistring2 0.9.7 1.mga6 i586
libunixODBC2 2.3.4 2.mga6 i586
libunwind8 1.1 8.mga6 i586
libusb1.0_0 1.0.21 1.mga6 i586
libuuid1 2.28.2 2.mga6 i586
libv4l0 1.12.5 1.mga6 i586
libverto1 0.2.6 6.mga6 i586
libxcomposite1 0.4.4 8.mga6 i586
libxcursor1 1.1.14 6.mga6 i586
libxi6 1.7.9 1.mga6 i586
libxinerama1 1.1.3 6.mga6 i586
libxrandr2 1.5.1 1.mga6 i586
libxrender1 0.9.10 1.mga6 i586
libxslt1 1.1.29 6.mga6 i586
wine 2.0 4.mga6 i586
wine32 2.0 4.mga6 i586
(média « Tainted 32bit Release »)
libfreetype6 2.7.1 2.mga6.taint> i586
(média « Tainted 32bit Updates Testing »)
libosmesa8 17.1.1 2.mga6.taint> i586
un espace additionnel de 316Mo sera utilisé.
131Mo de paquets seront récupérés.
Procéder à l'installation des 59 paquetages ? (O/n) o
[...]
[troumad@localhost ~]$ rm -fr .wine
[troumad@localhost ~]$ winemine
wine: created the configuration directory '/home/troumad/.wine'
fixme:winediag:start_process Wine Staging 2.0 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
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.
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0dc3c8, context 0xa48e00, init_notify 0, handle 0x127e7a4): stub
wine: configuration in '/home/troumad/.wine' has been updated.
[troumad@localhost ~]$
=> winemine has work.
I experience a similar problem with playonlinux (I also experience the TrueType error as well) here the error complains about a missing ncurses.
$ uname -a
Linux marvin.maximumhoyt.com 4.9.34-desktop-4.mga6 #1 SMP Mon Jun 26 17:49:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep freetype
lib64freetype6-2.7.1-2.mga6.tainted
lib64freetype-gir2.0-1.52.1-1.mga6
libfreetype6-2.7.1-2.mga6.tainted
$ rpm -qa | grep ncurses
libncurses6-6.0-8.mga6
lib64ncurses5-6.0-8.mga6
lib64ncurses6-6.0-8.mga6
libncursesw6-6.0-8.mga6
ncurses-6.0-8.mga6
lib64ncursesw6-6.0-8.mga6
Here is the messages from startup, with a warning about about a version mismatch and something missing (checl_dd_x86, check_dd_amd64:
$ playonlinux
Looking for python... 2.7.13 - wxversion(s): 3.0-gtk2
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
selected
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
[main] Message: PlayOnLinux (4.2.12) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Warning: check_dd_x86 missing, test skipped
[Check_OpenGL] Warning: check_dd_amd64 missing, test skipped
[POL_System_CheckFS] Message: Checking filesystem for /home/hoyt/.PlayOnLinux/
[main] Message: Filesystem is compatible
[install_plugins] Message: Checking plugin: Capture...
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
Oops, I had deleted the logfile, but it contained the same message as the TrueType fonts, just for ncurses.
Now, I can't seem to get as far as selecting the game to install. IF I can get it to run, I will post the logfile.CC:
(none) =>
hoytduff (In reply to Bernard SIAUD from comment #0) > Steps to Reproduce: > install wine : > urpmi wine64 That's probably the issue, if you want to install wine, then use urpmi wine CC:
(none) =>
doktor5000 According to various threads on the MLO forum, installing "libfreetype6 lib64freetype2 libfreetype2" fixes the issue. I need to dig in a bit deeper to understand more precisely what are the missing deps for what package though. I have the same issue : -+-+-+-+-+-+-+-+-+-+-+- Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org -+-+-+-+-+-+-+-+-+-+-+- when tring to use wine (m$office2010 setup via playonlinux) while the following pakages are installed : -+-+-+-+-+-+-+-+-+-+-+- [root@siveer-pt88 freetype-2.4.0]# rpm -qa | grep -i freetype freetype2-demos-2.7.1-2.mga6.tainted lib64freetype2-1.3.1-46.mga6.tainted lib64freetype6-devel-2.7.1-2.mga6.tainted lib64freetype6-2.7.1-2.mga6.tainted libfreetype6-2.7.1-2.mga6.tainted libfreetype2-1.3.1-46.mga6.tainted lib64freetype-gir2.0-1.52.1-1.mga6 lib64freetype6-static-devel-2.7.1-2.mga6 -+-+-+-+-+-+-+-+-+-+-+- CC:
(none) =>
f.roussin Sorry for the last entry, my problem was not linked to mageia but to a recent bug in playonlinux emmbedded zlibs as reported here : https://www.playonlinux.com/en/issue-5562.html The "remove POL zlib library files" trick worked for me I've just noticed this bug report and I can tell that the original problem may be caused by packaging error. The FreeType library is dlopened by WINE (as well as some other ones), so it is not correctly detected by rpmbuild and mentioned manually in "Requires: dlopenreq(...)" group of lines. The error is the placement of these lines. They're placed in "wine64" package when building 64-bit wine and in "wine" (without "32" suffix) package when building 32-bit wine. Installing WINE on x86_64 system using wine64+wine32 combination causes all 32-bit dlopenreq() dependencies get lost. BTW now S3TC patent had expired and you can move libtxc_dxtn from tainted to main repository and add it to dlopenreq in WINE too. But this is another issue... CC:
(none) =>
olegbosis I note in passing that for wine32 I did still have to track down this bug and manually install libfreetype2 and libfreetype6 before wine would work as at 9Feb2018. Is there a fix for the distribution? CC:
(none) =>
tablackwell
PC LX
2018-03-31 11:51:33 CEST
CC:
(none) =>
mageia Created attachment 10687 [details]
wine.spec with fixed dlopenreq lines
Seems like nobody plans to fix the bug...
I've changed spec file so you can test it...CC:
(none) =>
olelukoie Sorry this was not followed up. Closing as old, as this bug is for mga6. Good news, is that at least for me wine-mine works correctly on mga7 :) wine64 4.0.1 on Plasma. If any problems on mga7, please open a new bug. Resolution:
(none) =>
OLD |