Women in Technology

Hear us Roar



Article:
  PHP 4.3 and Mac OS X
Subject:   Configuring with PHP 4.3's bundled libgd
Date:   2003-01-20 13:33:37
From:   trachtenberga
Response to: Configuring with PHP 4.3's bundled libgd

You're right. I got PHP to compile with the bundled version of GD.


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

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • 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