Apache 1.3.14 - PHP-404 - GD-1.3.8 problems

From: Date: Mon, 15 Jan 2001 14:25:46 +0000
Subject: Apache 1.3.14 - PHP-404 - GD-1.3.8 problems
Groups: php.general 
Request: Send a blank email to php-general+get-34622@lists.php.net to get a copy of this message
Hi all, I've some strange problems. First i tried to update PHP-403pl1 with PHP-404. PHP was running smoothly on my Apache-1.3.14 but after the upgrade (no compile errors, ./configure okay and no errors at all when compiling PHP-404) i wanted to restart Apache.. it said something like: crc32; undefined reference. and, the /www/libexec/php4lib.so gave a seg. fault when I tried to run it. So, i compiled apache & PHP from fresh .tar.gz, but this time, not as DSO, but static. This time, PHP isn't giving any troubles at all, but the compilation of apache gives some errors when trying to compile the PHP4 module... here are they: =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- gcc -DLINUX=2 -I/root/source/php-4.0.4 -I/root/source/php-4.0.4/main -I/roo t/source/php-4.0.4/main -I/root/source/php-4.0.4/Zend -I/root/source/php-4.0 .4/Zend -I/root/source/php-4.0.4/TSRM -I/root/source/php-4.0.4/TSRM -I/root/ source/php-4.0.4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../. ./modules/php4 -lmodphp4 -ldl -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -ln sl -lresolv -lm -lcrypt /usr/local/lib/libgd.a(gd_png.o): In function `gdPngErrorHandler': gd_png.o(.text+0x37): undefined reference to `png_get_error_ptr' /usr/local/lib/libgd.a(gd_png.o): In function `gdPngReadData': gd_png.o(.text+0x95): undefined reference to `png_get_io_ptr' /usr/local/lib/libgd.a(gd_png.o): In function `gdPngWriteData': gd_png.o(.text+0xc5): undefined reference to `png_get_io_ptr' /usr/local/lib/libgd.a(gd_png.o): In function `gdImageCreateFromPngCtx': gd_png.o(.text+0x155): undefined reference to `png_check_sig' ... /usr/local/lib/libgd.a(gd_png.o): In function `gdImagePngCtx': gd_png.o(.text+0x975): undefined reference to `png_create_write_struct' gd_png.o(.text+0x9ab): undefined reference to `png_create_info_struct' ... gd_png.o(.text+0xefd): undefined reference to `png_write_end' gd_png.o(.text+0xf16): undefined reference to `png_destroy_write_struct' collect2: ld returned 1 exit status make[3]: *** [target_static] Error 1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Does anyone know a solution? please let me know :) My commands to compile: ~/source/php-4.0.4# ./configure --with-apache=../apache_1.3.14 --with-mysql --with-gd --without- ttf -with-ftp ; make ; make install ~/source/php-4.0.4# cd ../apache_1.3.14 ~/source/apache_1.3.14# ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a ; make ; make install I have/try: PHP 4.0.4 Apache 1.3.114 GD 1.3.8 libpng 1.0.8 zlib 1.1.3 Linux 2.2.17 Original distro Slackware 7.0 Kees Hoekzema, kees@tweakers.net

« previous php.general (#34622) next »