As per the link given here
Check the section whats new in section 1.6.1 it says
If you get undefined symbol errors, be sure to check for older versions of libpng in your library directories!
Also what did u reinstall ? a new version of GD ?
Comment on Re: '500 Internal Server Error', when using 'GIFgraph'?