I have phpfarm compiling php 5.4.21 without error. But when I try to add in support for mysql by adding a custom-options-5.4.21.sh:
configoptions="--with-mysql=/usr/"
I end up with a failed compile ending with:
-L/usr//lib/x86_64-linux-gnu -lcrypt -lresolv -lcrypt -lrt -lmysqlclient -lrt -lm -ldl -lnsl -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -Wl,--rpath -Wl,/usr//lib/x86_64-linux-gnu
/usr/bin/ld: ext/standard/image.o: undefined reference to symbol 'uncompress'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
It looks like phpfarm is dropping -lz from the linked libraries, but the error is coming from libz.so.1, so does that mean that it is using the zlib library?