From: sprice at wisc dot edu Operating system: Mac 10.2.4 PHP version: 4CVS-2003-03-30 (stable) PHP Bug Type: GD related Bug description: 'make' fails with "--with-freetype-dir=..." config
When PHP is compiling I get this error: [...] gcc -dynamic -twolevel_namespace -bundle -bundle_loader /usr/sbin/httpd -g -O2 -L/usr/local/lib ext/zlib/zlib.o [... whole slew of object files ...] main/internal_functions.o -lfreetype -lpng -lz -ljpeg -lz -lm -o libs/libphp4.bundle && cp libs/libphp4.bundle libs/libphp4.so ld: Undefined symbols: _FT_New_Face make: *** [libs/libphp4.bundle] Error 1 % My configure looks like this: ./configure --with-apxs --with-mysql --with-gd --disable-short-tags --with-zlib-dir=/usr --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-exif --with-freetype-dir=/usr/local and it only fails when I use "--with-freetype-dir=/usr/local". I am not sure if I am building FreeType right, but if I was doing something wrong, I figure that the PHP configure/build process would throw an error earlier. (I have no reason to believe that it isn't built right, I just haven't used it before...) I am usig freetype v2.1.4rc2 -- Edit bug report at http://bugs.php.net/?id=22973&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22973&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22973&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22973&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22973&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22973&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22973&r=support Expected behavior: http://bugs.php.net/fix.php?id=22973&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22973&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22973&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22973&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22973&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22973&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22973&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22973&r=gnused