Hi, I'm trying to build and use WINE on an OSX Snow Leopard machine. I build WINE yesterday, but didn't realise libfreetype was a problem (unable to find library) until I started ding WINE things. So I downloaded it from freetype.org and built/installed it into /usr/local/lib, but I still get the errors. I decide to rebuild WINE and ran ./configure to find that it couldn't find freetype. Here's a snippet of the end of that section plus a little investigation of my own. It shows that that freetype-config IS ABLE to determine my suitability so what's the problem with the configure script and how to move past this? Thanks if you can help.> checking for freetype-config... freetype-config > checking for -lfreetype... not found > configure: error: FreeType 32-bit development files not found. Fonts will not be built. > Use the --without-freetype option if you really want this. > petem3:wine petem$ > petem3:wine petem$ freetype-config > Usage: freetype-config [OPTION]... > Get FreeType compilation and linking information. > > Options: > --prefix display `--prefix' value used for building the > FreeType library > --prefix=PREFIX override `--prefix' value with PREFIX > --exec-prefix display `--exec-prefix' value used for building > the FreeType library > --exec-prefix=EPREFIX override `--exec-prefix' value with EPREFIX > --version display libtool version of the FreeType library > --ftversion display FreeType version number > --libs display flags for linking with the FreeType library > --libtool display library name for linking with libtool > --cflags display flags for compiling with the FreeType > library > petem3:wine petem$ set -o vi > petem3:wine petem$ freetype-config --libs > -L/usr/local/lib -lfreetype -lz > petem3:wine petem$ vi configure > petem3:wine petem$ freetype-config --cflags > -I/usr/local/include/freetype2 -I/usr/local/include >
petem
2011-Feb-08 22:41 UTC
[Wine] Re: snow leopard, freetype installed but not being found?
I also found this in config.log, so I have a faulty freetype install?> configure:10328: checking for freetype-config > configure:10344: found /usr/local/bin/freetype-config > configure:10355: result: freetype-config > configure:10373: checking for -lfreetype > configure:10398: gcc -m32 -o conftest -g -O2 conftest.c -lfreetype -L/usr/local/lib -lfreetype -lz >&5 > ld: warning: in /usr/local/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (i386) > Undefined symbols: > "_FT_Init_FreeType", referenced from: > _main in ccpbDWSy.o > ld: symbol(s) not found > collect2: ld returned 1 exit status
Possibly Parallel Threads
- Re: snow leopard, freetype installed but not being found?
- installing wine on Debian Wheezy: configure: error: FreeType development files not found
- configure under cygwin can't find freetype
- Problem compiling Wine with Freetype on Ubuntu Hardy 64
- Trouble compiling--unable to find freetype