Leonardo Rodrigues wrote: > Just a reminder, those set of patches are for the 4.1-release, which > implies no Xenocara. Trying those patches on a 4.1-current system > (with Xenocara), wine will compile but fail to run anything. Weird > errors with winex11.drv. Something like this: > > $ wine notepad.exe > /home/maverick/.wine/system.reg is not a valid registry file > /home/maverick/.wine/user.reg is not a valid registry file > wine:/usr/X11R6/lib/libfreetype.so.14.0: undefined symbol 'inflate' > wine:/usr/X11R6/lib/libfreetype.so.14.0: undefined symbol 'inflateReset' > wine:/usr/X11R6/lib/libfreetype.so.14.0: undefined symbol 'inflateEnd' > wine:/usr/X11R6/lib/libfreetype.so.14.0: undefined symbol 'inflateInit2_' > wine:/usr/local/lib/wine/winex11.drv.so: undefined symbol 'XauDisposeAuth' > wine:/usr/local/lib/wine/winex11.drv.so: undefined symbol 'XdmcpWrap' > wine:/usr/local/lib/wine/winex11.drv.so: undefined symbol > 'XauGetBestAuthByAddr' > err:module:load_builtin_dll failed to load .so lib for builtin > L"winex11.drv": Cannot load specified object > err:imagelist:ImageList_ReplaceIcon no color! > err:imagelist:ImageList_ReplaceIcon no color! > err:imagelist:ImageList_ReplaceIcon no color! > err:imagelist:ImageList_ReplaceIcon no color! > w/usr/local/lib/../bin/wine:/usr/X11R6/lib/libfreetype.so.14.0: > undefined symbol 'inflate' > /usr/local/lib/../bin/wine:/usr/X11R6/lib/libfreetype.so.14.0: > undefined symbol 'inflateReset' > /usr/local/lib/../bin/wine:/usr/X11R6/lib/libfreetype.so.14.0: > undefined symbol 'inflateEnd' > /usr/local/lib/../bin/wine:/usr/X11R6/lib/libfreetype.so.14.0: > undefined symbol 'inflateInit2_'
In xenocara freetype is no longer using its own private copy of libz. You thus need to add -lz to the list of libraries linked to wine. > ine:/usr/local/lib/wine/winex11.drv.so: undefined symbol 'XauDisposeAuth' > wine:/usr/local/lib/wine/winex11.drv.so: undefined symbol 'XdmcpWrap' > wine:/usr/local/lib/wine/winex11.drv.so: undefined symbol > 'XauGetBestAuthByAddr' > err:module:load_builtin_dll failed to load .so lib for builtin L" > winex11.drv": Cannot load specified object > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XauDisposeAuth' > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XdmcpWrap' > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XauGetBestAuthByAddr' > err:module:load_builtin_dll failed to load .so lib for builtin > L"winex11.drv": Cannot load specified object > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XauDisposeAuth' > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XdmcpWrap' > /usr/local/lib/../bin/wine:/usr/local/lib/wine/winex11.drv.so: > undefined symbol 'XauGetBestAuthByAddr' > err:module:load_builtin_dll failed to load .so lib for builtin > L"winex11.drv": Cannot load specified object > Application tried to create a window, but no driver could be loaded. > Unknown error (127). > $ Also libX11 doesn't include copies of libXdmcp and libXau anymore. You need to explicitely add -lXdmp -lXau to the libraries for winex11.drv.so or to wine itself.. -- Matthieu Herrb
