This is the first time ive ever gotten this message, its being installed on a RH 62 (not by choice) system.
Its being compiled with:
PHP 4.2.1: mcrypt, curl, gd
mod_ssl-2.8.10-1.3.26
and ssl is installed /usr/local/ssl
Here is the message:
Configuring for Apache, Version 1.3.26
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
A test compilation with your Makefile configuration
failed. The below error output from the compilation
test will give you an idea what is failing. Note that
Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -I/pub/php/4.2.1/php-4.2.1 -I/pub/php/4.2.1/php-4.2.1/main -I/pub/php/4.2.1/php-4.2.1/main -I/pub/php/4.2.1/php-4.2.1/Zend -I/pub/php/4.2.1/php-4.2.1/Zend -I/pub/php/4.2.1/php-4.2.1/TSRM -I/pub/php/4.2.1/php-4.2.1/TSRM -I/pub/php/4.2.1/php-4.2.1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy helpers/dummy.c -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lmysqlclient -lmcrypt -lltdl -lgd -lfreetype -lpng -lz -ljpeg -lgdbm -lcurl -ldl -lcurl -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lm -lcrypt
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
here are my configure scripts:
PHP:
./configure \
--with-apache=/pub/apache/server/1.3.26/apache_1.3.26 \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-gd=/pub/libraries/gd/2.0.1b/gd-2.0.1 \
--enable-dbase \
--enable-gd-native-ttf \
--with-gdbm=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local/include/freetype2 \
--with-regex=system \
--with-ttf \
--with-xml \
--with-zlib \
--enable-bcmath \
--enable-debugger \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-trans-sid \
--with-mysql=/usr/local \
--disable-posix-threads \
--with-mcrypt=/usr/local \
--with-curl
mod_ssl-2.8.10-1.3.26:
./configure \
--with-apache=/pub/apache/server/1.3.26/apache_1.3.26
Apache:
I have tried SSL_BASE with both:
/pub/openssl/0.9.6d/openssl-0.9.6d
/usr/local/ssl
SSL_BASE=/pub/openssl/0.9.6d/openssl-0.9.6d \
./configure \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/usr/local/apache \
--enable-shared=ssl