PHP4 on MacOSX 10.1.3

mario

2002-03-04 14:17:00

I configured PHP4 with the following:
./configure --with-apxs --with-gd --with-png-dir=/usr/local/lib --with-zlib --with-jpeg-dir=/usr/local/lib --enable-magic-quotes --with-xml

Configuring works well; at the end of compiling i get the following message:

*** Warning: This library needs some functionality provided by -lgd.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
.......................
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

I believe the problem is related to libtool, but after many days of work I didn't found a solution.
Please help me!!

abetam

2002-03-05 07:09:00

How about this, --with-gd=/<path to gd>/