php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22973 'make' fails with "--with-freetype-dir=..." config
Submitted: 2003-03-30 23:24 UTC Modified: 2003-03-31 01:49 UTC
From: sprice at wisc dot edu Assigned:
Status: Not a bug Package: GD related
PHP Version: 4CVS-2003-03-30 (stable) OS: Mac 10.2.4
Private report: No CVE-ID: None
 [2003-03-30 23:24 UTC] sprice at wisc dot edu
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-31 01:49 UTC] sniper@php.net
You need to report this to the Freetype people.
Seems like they just don't export that function at all for Mac..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 13:01:30 2024 UTC