To use gd library, you have to have the gd.so in /usr/lib/gd.so and an extension=gd.so entry in php.ini. Maybe a new child package would be a correct solution.
*** This bug has been marked as a duplicate of 20137 ***