http://bugs.winehq.org/show_bug.cgi?id=25202
Summary: Wine should use pkg-config --libs freetype2 instead of freetype-config --libs Product: Wine Version: unspecified Platform: x86-64 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: debian@carbon-project.org
Currently the Wine configure script uses freetype-config --libs to figure out the flags needed for linking (freetype-config returns "-lfreetype -lz"). But freetype-config returns the values needed for _static_ linking. Please use pkg-config --libs freetype2 which gets it right and only reports "-lfreetype" back.
This problem lead to e.g. http://forum.winehq.org/viewtopic.php?t=1951 on 64 bit builds on Debian and its derivatives (and maybe others). And even though I can work around this by having the 32 bit libz around in the build environment, the better solution would be not to link needlessly against it.
http://bugs.winehq.org/show_bug.cgi?id=25202
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2010-11-17 10:35:58 CST --- You really want the 32-bit libz, it's also used by other things.
http://bugs.winehq.org/show_bug.cgi?id=25202
--- Comment #2 from Cùran debian@carbon-project.org 2010-11-17 10:41:04 CST --- Just to make it clear: I've no issues with needing the 32 bit libz but having "-libfreetype -lz" added to all linker invocation where FreeType is needed and maybe libz is not doesn't seem right. That's why I've asked for the usage of pkg-config instead of freetype-config.
http://bugs.winehq.org/show_bug.cgi?id=25202
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25202
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.7
http://bugs.winehq.org/show_bug.cgi?id=25202
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |Linux
http://bugs.winehq.org/show_bug.cgi?id=25202
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #3 from Roland Haeder roland@mxchange.org 2012-09-11 18:12:31 CDT --- This change has lead to this output with recent packages under debian:
/usr/lib32/libfreetype.a(ftgzip.o): In function `ft_gzip_stream_close': (.text+0x1b3): undefined reference to `inflateEnd' /usr/lib32/libfreetype.a(ftgzip.o): In function `ft_gzip_file_fill_output': (.text+0x2d5): undefined reference to `inflate' /usr/lib32/libfreetype.a(ftgzip.o): In function `ft_gzip_file_io': (.text+0x418): undefined reference to `inflateReset' /usr/lib32/libfreetype.a(ftgzip.o): In function `FT_Stream_OpenGzip': (.text+0x573): undefined reference to `inflateInit2_' /usr/lib32/libfreetype.a(ftgzip.o): In function `FT_Stream_OpenGzip': (.text+0x6aa): undefined reference to `inflateEnd' collect2: error: ld returned 1 exit status
http://bugs.winehq.org/show_bug.cgi?id=25202
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a37f74f5adec8cd3f924fc96e08 | |3a66219086091 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2012-10-03 16:39:16 CDT --- a37f74f5adec8cd3f924fc96e083a66219086091 fixed this.
http://bugs.winehq.org/show_bug.cgi?id=25202
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:36:24 CDT --- Closing bugs fixed in 1.5.15.