When I run configure I get the following message:
"Something is likely to be messed up here, because the configure script was not able to detect a simple feature on your platform. This is often caused by incorrect configuration parameters. Please see the file debug.log for error messages...."
The debug.log shows the following:
CONFIGURE: './configure' '--with-apxs' '--with-mysql=/usr/local/mysql' '--enable-magic-quotes'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I$(top_srcdir) -I/usr/include/freetype -I/usr/local/mysql/include/mysql
LDFLAGS: -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql
LIBS: -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql/lib/mysql
uname -a: Linux ols.sofcorp.com 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
gcc -o conftest -g -O2 -DEAPI -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
Note:
With my install of the perl msql-mysql module I initially got an error: ld can't find -lz (also -lgz) -- but as they were only just included in the default install in the last version I felt OK about commenting them out of the Install.pm file & that install then went smoothly. But now with the same libs being required for the php install (with-mysql) I'm thinking I somehow missed installing some necessary libraries. BTW, I re-installed mysql from source (initially from binary), thinking the necessary libs were contained in the mysql source files, but apparently that's not where they come from.
Thanks,
mairi