Maybe the following is relevant:
http://www.faqs.org/docs/bugzilla/osx.html
If you now some Perl it is probably easy to modify the scripts not to use GD. And is GD really used for mobi2html?
I think GD is used to convert the image data to jpeg and to read in the file and give a data string.