Hi all, any help from you on this problem would be great.
RH 8.0 + Apache-2.0.43 + mysql-4.0.7-gamma-binary + php-4.3.0
httpd-2.0.43
./configure \
--enable-so \
--enable-layout=RedHat
make; make install
php-4.3.0
./configure \
--with-mysql \
--with-apxs2=/usr/sbin/apxs \
--with-zlib-dir=/usr/local/src/php/ext/zlib
make
...and then the errors:
/bin/sh libtool --silent --mode=compile gcc -Imain/ -I/usr/local/src/php/main/
...
...
...
-lmysqlclient -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php
/usr/local/src/mysql/lib/libmysqlclient.a(my_malloc.o)(.text+0x28):
In functionmy_malloc': undefined reference toerrno'
/usr/local/src/mysql/lib/libmysqlclient.a(my_lib.o)(.text+0x2e1):
In function my_dir': undefined reference toerrno'
/usr/local/src/mysql/lib/libmysqlclient.a(my_lib.o)(.text+0x3d1):
In function my_stat': undefined reference toerrno'
/usr/local/src/mysql/lib/libmysqlclient.a(my_realloc.o)(.text+0x65):
In function my_realloc': undefined reference toerrno'
/usr/local/src/mysql/lib/libmysqlclient.a(my_getwd.o)(.text+0x44):
In function my_getwd': undefined reference toerrno'
/usr/local/src/mysql/lib/libmysqlclient.a(my_getwd.o)(.text+0xce):
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1