aright so a lot has changed since i last compiled a LAMP server from source and since Ubuntu 7 has screwed up the PHP5 package, this is my only option. i've never had this much trouble compiling PHP before. nowadays apparently PHP is no longer allowed to package a client library in the installation, and i cannot seem to get the config script to recognize the library i have installed.
checking for MySQL UNIX socket location... /tmp/mysql.sock
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!
why is it looking under 'yes'? the library does exist in /usr/lib but the configure script just doesn't see it. here's a print of my ld.so.conf file:
include /etc/ld.so.conf.d/*.conf
/usr/lib
the first line was placed there by Ubuntu. after running ldconfig, and apachectl restart, nothing changed. i've tried adding the /usr/lib line to the /etc/ld.so.conf.d/i486-gnu-linux file as well:
# Multiarch support
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
/usr/lib
nothing is working! why couldn't they just add the option to the configure script? a --with-mysql-lib='/path/to/lib' would have been nice. how do i solve this?