I saw the same error in configure PHP 4.1.2. The problem seems to be linked with GD configuration (???) I edited the makefile by hand (On Debian distrib, the freetype2 library is called libttf (like freetype1) and PHP is waiting for libfreetype) and then the configure works well.
B. le ven 01-03-2002 à 17:10, Ashley Kleynhans a écrit : > I was running PHP 4.0.6. > I read about the fileupload vulnerability and decided to upgrade to PHP 4.1.2. > When running the configure script, I used the following commandline with > PHP 4.0.6: > > CFLAGS="-O2 -DHAVE_SYS_RESOURCE_H" ./configure >--with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf >--with-mysql --with-imap --with-gd=/usr/local --enable-debug=no --enable-track-vars > > When attempting to do the same with PHP 4.1.2 it generated the following > error message: > ----- > checking for crypt in -lcrypt... (cached) yes > configure: error: This c-client library is build with SSL support. > > Add --with-imap-ssl<=DIR> to your configure line. Check config.log for details. My error was the same. > ----- > > > I then added "--with-imap-ssl" and the configure script ran okay but when I did a >"make" > I was presented with the following error message: > ----- > /usr/bin/ld: cannot open -lcrypto: No such file or directory The option --with-lcrypt seems to be active and the compilator don't find the library. > ----- > > > I then added "--with-ssl" to the command line of the configure script and that seemed > to solve the problem with "make" but when starting Apache, I was presented with the > following error message: > ----- > Syntax error on line 72 of /usr/local/apache/conf/httpd.conf: > /usr/local/apache/bin/apachectl startssl: httpd could not be started > Cannot load /usr/local/apache/libexec/libphp4.so into server: >/usr/local/apache/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit > ----- > > > I then tried to change the "--with-ssl" parameter to "--with-ssl=/usr/local/ssl" and >compiled again > but once again when starting apache I received the same error. > > I then tried to remove "--with-ssl" from the configure script parameters and changed > "--with-imap-ssl" to "--with-imap-ssl=/usr/local/ssl" and compiled again but once >again > when starting apache I received the same error. > > Any assistance will be greatly appreciated. > > Regards > Ashley > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php