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-xmlConfiguring 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!!