php -r 'include("/tmp/TestSuite/Framework/ImageCompare/Extension/image_compare.php"); echo image_compare::image_compare_ping("Hello");'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/image_compare.so' - /usr/lib/php5/20121212/image_compare.so: undefined symbol: png_read_update_info in Unknown on line 0
As you can see, there are no compiler or linker errors., libpng-dev was installed via apt-get. The weirdest things to me is that even though I get no errors, I don't see libpng being a dependency of my library: