i had the same problem.
i found that there is a .so.3.0.3 (or similar extension) file with the fdflib toolkit that needs to be installed alongside the other fdf tk .so file in /usr/local/lib
this didn't breakthe php build, however php still doesn't recognise any fdf functions.
does anyone know if there is some step that i may have missed out?
thanks.