Hi,
I'm currently trying to compile php5 with mysql support (as an extension).
I succeeded compiling a fastcgi binary without mysql, you can get it here :
http://www.ohardt.com/computer/dev/openwrt/binaries/
It works perfectly with thhtpd compiled by aorlinsk.
Anyway, when running ./configure and trying to include the mysql libraries I run into the problem that the compiler (linker ?) complains that it can't find libz.so.1 that libmysqlclient.so requires. All the libraries are in place, I even linked libz.so.1 from the ../usr/lib/myqsl directory but no success.
I think I can fix the problem by adding -rpath-link with the path to the libz binaries to the linker ( ld ) but I have no idea how to do that.
Any ideas anyone ?
Oliver