| Article: |
PHP 4.3 and Mac OS X | |
| Subject: | Configuring with PHP 4.3's bundled libgd | |
| Date: | 2003-01-18 04:33:45 | |
| From: | pierre_ | |
|
Response to: Configuring with PHP 4.3's bundled libgd
|
||
|
Hello,
|
||
Showing messages 1 through 2 of 2.
-
Configuring with PHP 4.3's bundled libgd
2003-01-20 13:33:37 Adam Trachtenberg |
[View]
-
Configuring with PHP 4.3's bundled libgd
2003-02-28 18:45:24 tychay [View]
don't you mean libpng.a? ;-)
The issue is that gd requires either libtiff or libpng (I think) to be available somewhere in your ld library path. Since neither is included by default in the Mac OS, the ./configure will fail with a very unhelpful error.
Take care,
terry chay
tychay at php dot net



In addition to --with-gd, I needed to pass --with-png-dir=/sw because my libgd.a was in /sw/lib instead of /usr/lib.
-adam