ID: 37359 Updated by: [EMAIL PROTECTED] Reported By: john at jcoppens dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Linux PHP Version: 5.1.4 -Assigned To: +Assigned To: pajoye New Comment:
What's your configure line? Did you use --with-t1lib-dir? Previous Comments: ------------------------------------------------------------------------ [2006-05-08 14:42:16] john at jcoppens dot com I've solved the problem for the moment adding LDFLAGS: LDFLAGS=-L/usr/X11/lib ./configure --with-mysql=/opt/ ... but I doubt that is the elegant solution. ------------------------------------------------------------------------ [2006-05-08 05:08:51] john at jcoppens dot com Description: ------------ I (tried) to run configure with --with-freetype-dir=/usr/X11 (among other options, of course). This works fine for libfreetype itself, but the config process stops on (failing) to detect libt1: If configure fails try --with-xpm-dir=<DIR> checking for FreeType 1 support... no - FreeType 2.x is to be used instead checking for T1_StrError in -lt1... no configure: error: Problem with libt1.(a|so). Please check config.log for more information. It says 'no' here, not because t1 doesn't exist, but because it cannot find freetype. From the config.log: configure:35897: checking for T1_StrError in -lt1 configure:35916: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/opt/gnome/lib -L/opt/gnome/lib conftest.c -lt1 -lfreetype -lpng -lz -lbz2 -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 1>&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfreetype Probably because the /usr/X11 path is not included. Expected result: ---------------- I'd expect the path from --with-freetype-dir to be included in all places where it is needed. Sorry if I'm incorrect here... I'm not an expert programmer. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37359&edit=1